Page 1 of 1

Access to the STDIN of a process launched with Run()

Posted: Wed May 28, 2025 7:08 pm
by domenikov
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:

Code: Select all

handler = Run(file$[, args$, t])
Then, the Hollywood script could send strings to the launched program with the WriteLine() command, and intercept the output produced through the RunOutput() event.

Re: Access to the STDIN of a process launched with Run()

Posted: Wed May 28, 2025 11:44 pm
by plouf
(misundertood ignore)

Re: Access to the STDIN of a process launched with Run()

Posted: Thu Jun 05, 2025 7:30 pm
by airsoftsoftwair
That sounds like advanced wizardry, probably not worth implementing because it's a lot of work and I don't think many people need it.