RE: Changes in osascript?
RE: Changes in osascript?
- Subject: RE: Changes in osascript?
- From: Scott Babcock <email@hidden>
- Date: Tue, 27 Jan 2009 22:13:01 -0800
- Acceptlanguage: en-US
- Thread-topic: Changes in osascript?
Whenever I include 'ps' as part of a scripting task, I always limit its output to the fields I actually need through the '-o' option. In this case, it appears that all you really want is the command:
ps -U "$USER" -co command
This way, you don't need to deal with as many version-to-version formatting issues.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden