Re: Shell and Background Jobs

2011-08-24 Thread Klaus on-rev
Hi Chris, Am 24.08.2011 um 16:32 schrieb Nonsanity: > Thanks, Klaus. > > I had tried wrapping my call in a .sh file (made outside of LC) but I then > launched it with a shell command and another "&" just to see if it was the > command itself that was somehow aborting with the backgrounding behav

Re: Shell and Background Jobs

2011-08-24 Thread Nonsanity
Thanks, Klaus. I had tried wrapping my call in a .sh file (made outside of LC) but I then launched it with a shell command and another "&" just to see if it was the command itself that was somehow aborting with the backgrounding behavior. But despite and & both inside and out, the shell command wo

Re: Shell and Background Jobs

2011-08-24 Thread Klaus on-rev
Hi Chris, Am 23.08.2011 um 22:32 schrieb Nonsanity: > Now that the earth has stopped shaking here, I can re-write this email. I > lost the first rendition by switching to the USGS web site for details on > the 5.9 earthquake we had nearby (geographically speaking). Anyway... > > I've been trying

Re: Shell and Background Jobs

2011-08-23 Thread Nonsanity
Okay, it's a ugly hack, but it gets the job done. I wrote an AppleScript that fetches it's input from a text file, then calls the Unix shell line for me, which redirects output to another text file (the original purpose). Saved as an application. On the LiveCode side, I write the input to the tex

Re: Shell and Background Jobs

2011-08-23 Thread Nonsanity
Okay, the Applescript intermediary sounds like it might work. I'll give that a go. ~ Chris Innanen ~ Nonsanity On Tue, Aug 23, 2011 at 5:14 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Chris, > > Don't believe everything that's written. I can imagine that some command

Re: Shell and Background Jobs

2011-08-23 Thread Mark Schonewille
Hi Chris, Don't believe everything that's written. I can imagine that some command line apps don't work well with the open process command, but quite a few work fine. I did a tutorial for the LiveCode.tv event, showing how to use open process to write to and read from telnet. Closing the proces

Re: Shell and Background Jobs

2011-08-23 Thread Nonsanity
As per the Dictionary (and my own testing): Note: On OS X systems, you can use the open process command to start up an application, but not a Unix process. To work with a Unix process, use the shell func instead. And it's unix processes that I need to start, not apps. :( ~ Chris Innanen ~ Non

Re: Shell and Background Jobs

2011-08-23 Thread Mark Schonewille
Hi Chris, Surely the open process command works on Mac OS X. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPho