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

Feature requests for future versions of Hollywood can be voiced here
Post Reply
domenikov
Posts: 14
Joined: Fri May 19, 2017 10:27 pm
Location: Rome - IT

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

Post 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.
plouf
Posts: 666
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

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

Post by plouf »

(misundertood ignore)
Christos
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post 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.
Post Reply