Written by

Question sansa stark · Oct 7, 2016

execute .exe

Is there any alternate way to run .exe in Ensemble without using $zf command?

Comments

John Murray · Oct 7, 2016

Can you tell us why you need an alternative?

0
Bernd Mueller · Oct 10, 2016

on Unix and Windows you can use PIPES:

s prog="whoami",oldIO=$IO open prog:"QR" use prog read result c prog use oldIO w !,result
0
Paul Hula · Oct 10, 2016
Open "|CPIPE|":("dir":"R"):5 Use "|CPIPE|" Read sLine:5 Close "|CPIPE|"

Replace "dir" with your command, If you care about all the responses you'll need to do multiple read's and check $ZEOF or a timeout.  

0