I just noticed that my last post was not easy to read

I´ve used the following shell command to redirect to a file instead of to 
/dev/null

/users/matthias/downloads/temp/MailHog > 
/users/matthias/downloads/temp/hubbabubba.txt 2>&1 &


My script looked like this

put "/users/matthias/downloads/temp/MailHog > 
/users/matthias/downloads/temp/hubbabubba.txt 2>&1 &" into tShell
put shell(tShell)
answer URL "file:/users/matthias/downloads/temp/hubbabubba.txt"


The answer dialog showed up immediately after executing the shell and it 
contained the redirected stdout data.




> filename      redirects the stdout to a file
2 > &1                  redirects stderr to stdout, which in my case is 
redirected to file hubbabubba.txt

 &                      puts the command in the background




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to