Bkgnd process that returns immediately

xavier.bury at clearstream.com xavier.bury at clearstream.com
Fri Mar 16 08:52:29 EDT 2007


Hi Mark,

I just dont use the ampersand and it works like a charm...

cheers
---------------------=---------------------
Xavier

use-revolution-bounces at lists.runrev.com wrote on 16/03/2007 13:21:54:

> A 2005 thread (from Brian, Xavier, Chipp, et. al) talked about
> re-direction to achieve a non-blocking shell call, using 
> 
>  get shell("mycommand > mylogfile.log &")
> 
> My brain cannot get this to work.  Let's say I want Rev to start
> "C:\blah.html" using shell(), and then continue executing downstream Rev
> handlers.  I've tried variations of
> 
>  get shell("start > C:\blah.html &")
> 
> and
> 
>  get shell("start > C:\shellTemp.txt &")
> 
>       where shellTemp.text contains 
>        C:\blah.html
>       among other variations
> 
> but nothing works.  The following 
> 
>   get shell("start C:\blah.html &")
> 
> does work, but it is blocking.
> 
> I understand the ampersand performs a handoff but am ignorant of the
> overall sequence of events.  What am I doing wrong? 
> 
> Mark
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



----------------------------------------------------------------------------
Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg RC Luxembourg B 60911.


-----------------------------------------
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER



More information about the use-livecode mailing list