- Code: Select all
notepad.exe | out-null; "finished!"
...and the shell will block execution until notepad is closed before printing "finished!". However this doesn't work with ST. This trick is useful if you want to edit a complex command from the shell. Is there a way of getting ST to behave like this too?