Thanks for the feedback.
In the is_joinable check I had attempted to try both join and detach, but in both cases it causes the script to crash perl. If I run it as is I see:
At the end of the run, which is what you had mentioned. I would love to join it but I just don't know why it keeps crashing my perl(Activestate 5.8.8 32 bit on Windows)Perl exited with active threads: 0 running and unjoined 1 finished and unjoined 0 running and detached
I want to be able to access the information in @results, after the _timedCommand has returned. When running the diskpart system call, a few lines of information are printed prior to the point where it asks for user input, it is these lines I would like to get back. I will try the queue and see if that does what I need it to do.
Thanks.
I updated my code to reflect more where I am currently at.
In reply to Re^4: How to deal with a forked proces that is waiting for user input?
by gepapa
in thread How to deal with a forked proces that is waiting for user input?
by gepapa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |