Page 1 of 1

Posted: 07 Apr 2013, 12:34
by ab32
Hello,

Is it possible, in Usine, to retrieve the output of a shell command ?

Let's say one has a program which calculates or sets some kind of data from the command line.

Would it be possible to run this program via Usine's shell command and to retrieve its output/result inside Usine so that it would be directly accessible inside the data flow of a patch ?

Posted: 07 Apr 2013, 15:14
by senso
Unfortunately not, it's complex to retrieve the Process Exit Code inside Usine.
But you can try to write a file in your process and then read it with a script?
Tricky but far to be impossible...

Posted: 07 Apr 2013, 17:55
by ab32
Ok, thank you for the information. There is still the possibility to also receive data through OSC though, but monitoring text files can come quite handy too.

By the way, next Usine looks very cool !