|
|
Didn't try this but...
Yesterday, we were trying to get this work:
Didn't try this but...
after some experimenting, it looks to me like the key part (to keep the script from hanging) is the '> /dev/null 2>&1 &' If you take this section out, it still works, but the script hangs. Put it back in, and the script exits cleanly. On a related note, the "set results to" section can be shortened to: set results to do shell script "open-x11 /path/to/gimp > /dev/null 2>&1 &"
Didn't try this but...
As you found out, the key part is the redirection of stdout and stderr to /dev/null... |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|