How to kill TextEdit from the command line
I make some changes, I get new TextEdit and Preview windows.
The problem is with TextEdit: after a few steps TextEdit's content would not change.
Then I need to abort it (making it active, command-q) and repeat the run.
I am wasting time on this, so I'd like a "kill TextEdit's_pid" instruction be part of my run-time
command. However, I can't get the pid of TextEdit by ps. If the terminal is active for ps to be issued,
TextEdit is necessarily not, so it will not show up.
I can't find a ps option that would list it.
Any idea, Unix folks?
Thanks
Mike-oz
PowerPC G5, Mac OS X (10.5.3)