Multiple shell commands

Andre Garzia soapdog at mac.com
Sun Nov 7 11:24:13 EST 2004


On Nov 7, 2004, at 4:12 AM, J. Landman Gay wrote:

> Thanks Mark, and Xavier too. This method works fine, and I can easily 
> create a file on the fly and execute it. Cool.
>
> Am I correct, then, that it isn't possible to send multiple commands 
> with the shell() function? It would be cleaner if we could. Seems like 
> we should be able to. I may mess around with it some more just to find 
> out, but if anyone knows how to do it I am all ears.
>

Jacqueline,

maybe you can use "open process" to open cmd.exe or command.exe and use 
write and read from process to send your commands and retrieve the 
responses.... I think this should work.

Cheers
andre



>
-- 
Andre Alves Garzia ð 2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org



More information about the use-livecode mailing list