Re: Truly weird, easy to replicate behaviour...
Re: Truly weird, easy to replicate behaviour...
- Subject: Re: Truly weird, easy to replicate behaviour...
- From: Federico <email@hidden>
- Date: Sat, 29 Mar 2003 02:20:20 +0100
Venerdl, 28 mar 2003, alle 23:44 Europe/Rome, Paul Skinner ha scritto:
Perhaps it's because you don't have a screensaver running?
If the screensaver is running, the commands:
ps -ax | grep ScreenSaver
will probably fail (actually, only grep will fail and return a non zero
exit code, causing the type 1 error), because ps reports the full path
to the executable and truncates it.
Adding the '-c' flag will make ps report only the executable name, and:
ps -axc | grep ScreenSaverEngine
will not fail, but only if the screen saver is running.
--
Federico
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.