Get the complete output of a program/command
- Posted by TheDcoder Dec 02, 2017
- 1235 views
Hello, I have been playing around with Euphoria recently :)
I want to get the (standard) output of a program or a command. I know that I can do this using `exec` and `read` but I am not sure how I can wait until the process ends... so really my question is "how to wait until a process ends" but I thought about the big picture and wanted to have a reference where I could go and look.
Can anyone help me out? Thanks in advance!