Hi Steve,

thanks a lot for your donation! Such an asynchronous operation can't be
achieved with the current version, but I think it's possible, and I will
try to implement it (as an additional method) in the next version.

thanks again,
valentin

Stephen Guerin wrote:
> Valentin,
>
> Fantastic!
>
> I messed around with v02 for the better part of the day interacting
> with
> python scripts. The _stdout and _stderr callbacks are working great.
> Very
> useful indeed. I sent a paypal to you as a small token of thanks.
>
> Is there a way to asynchronously call shell_cmd or shell_exec so that
> Director can play normally while the shell programs is running?
> Perhaps a
> threading feature for ver03? :-)
>
> Thanks again.
>
> -Steve
>
> ____________________________________________________
> http://www.redfish.com    [EMAIL PROTECTED]
> 624 Agua Fria Street      office: (505)995-0206
> Santa Fe, NM 87501        mobile: (505)577-5828
>
>> -----Original Message-----
>> From: Valentin Schmidt [mailto:[EMAIL PROTECTED]
>> Sent: Friday, May 28, 2004 5:47 AM
>> To: [EMAIL PROTECTED]
>> Subject: Re: <lingo-l> Shell Xtra
>>
>>
>> Hi Stephen,
>>
>> I've updated the win version of the xtra yesterday, the new version
>> has callback functions for catching stdout and stderr output during
>> execution (see new readme and demo.exe/demo.dir). But there is still
>> no interactive access to stdin, I have to think about this for a
>> while, I will let you know if I find out how this can be implemented.
>>
>> Valentin
>>
>>
>> Stephen Guerin wrote:
>>> Cool work, Valentin. I liked the curl interaction in your demo.
>>>
>>> Any chance Shell xtra can be used to handle bilateral communications
>>> with a
>>> shell program while it's continually running(perhaps accessing
>>> stdin, stdout
>>> and stderr streams)? I'm interested in using Director for
>>> interactive visualizations of simulation models written in Java and
>>> C++. I'd like to
>>> handle mouse events in director and change the models during
>>> runtime. Conversely, I'd like to be notified by the programs if the
>>> model has changed
>>> so my visualization can update itself.
>>>
>>> Thanks,
>>>
>>> Steve
>>> ____________________________________________________
>>> http://www.redfish.com    [EMAIL PROTECTED]
>>> 624 Agua Fria Street      office: (505)995-0206
>>> Santa Fe, NM 87501        mobile: (505)577-5828
>>>
>>>> -----Original Message-----
>>>> From: Valentin Schmidt [mailto:[EMAIL PROTECTED]
>>>> Sent: Thursday, May 27, 2004 8:34 AM
>>>> To: [EMAIL PROTECTED]
>>>> Subject: <lingo-l> Shell Xtra
>>>>
>>>>
>>>> Hi list,
>>>>
>>>> I'm working on an cross-platform (win and mac os x) scripting xtra
>>>> called "Shell Xtra" that can be used to execute command line
>>>> programms (hidden) and return the output back to director.
>>>> On mac os x (only tested on jaguar, so far) it's something like a
>>>> hidden terminal window, on windows like a hidden DOS box.
>>>>
>>>> It's still very alpha, but I'm a bit stuck at the moment, and could
>>>> use some feedback about bugs, improvements and its general
>>>> usefulness.
>>>> So if anybody has a bit time to spend for it, you are welcome to
>>>> download and test the current version from
>>>> http://staff.dasdeck.de/valentin/xtras/shell/
>>>>
>>>> Valentin
>>>>
>
>
> [To remove yourself from this list, or to change to digest mode, go
> to http://www.penworks.com/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email
> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
> programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to