Access to the STDIN of a process launched with Run()
Posted: Wed May 28, 2025 7:08 pm
Would be possible to act on the Run() command so that it returns a file handler to the STDIN of the launched process? Such handler would be useful for all those console programs that receive several commands, one line at a time, not necessarily all at once when they are launched. A syntax might be:
Then, the Hollywood script could send strings to the launched program with the WriteLine() command, and intercept the output produced through the RunOutput() event.
Code: Select all
handler = Run(file$[, args$, t])