Support > General Discussions

Pipes, interaction with processes, stderr, etc.

(1/1)

tomo:
Hello

I'm making my first steps to scriptbasic and it seems a nice thing. However, I wonder how far scriptbasic goes as a language for system-level scripting. Is there any elegant way to do pipelining things like in perl, for instance something like: open (PS, "ps -aux |")... and stderr access etc. Thanks.

Tomo

Support:
Tomo,

You could use a EXECUTE("executable_program", time_out,pid_v) statement to run your console command. I noticed a problem with Linux 'cat' when trying to append to another file. The operation also showed up on the screen.  :(

I haven't had any other issues with console mode usage and EXECUTE.

John

Navigation

[0] Message Index

Go to full version