Shell command doesn't give feedback until done
Brian Yennie
briany at qldlearning.com
Thu Jun 2 22:02:35 EDT 2005
Ugh. I just tried this and it doesn't work in Rev- although it's the
standard way to deal with this sort of task in a terminal.
I'm guessing that Rev refuses to return until the process is completely
terminated- and opens a whole new shell environment every time you call
shell(). How rude!
Now picking for a workaround... sorry for the false alarm.
> On 6/2/05 4:23 PM, Brian Yennie wrote:
>
>> Agh, sorry- I obviously missed the point of the thread.
>> Add an ampersand after your command:
>> get shell("mycommand > mylogfile.log &")
>> Voila, a "backgrounded" process that returns immediately.
>
> Oh cool. I will go try it. I have a use for this. :)
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
More information about the use-livecode
mailing list