We don't bite newbies here... much | |
PerlMonks |
IO::Pty::Easy from a non-interactive shellby dfdumont (Initiate) |
on Mar 13, 2013 at 20:54 UTC ( [id://1023294]=perlquestion: print w/replies, xml ) | Need Help?? |
dfdumont has asked for the wisdom of the Perl Monks concerning the following question: I see at least one other has had issues with xinetd. It also exhibits the same condition for me from cron, from an at job, even from a script that I've nohup'd and then logged out of the session. Apparently a controlling vty is needed. The code segment itself looks like this:
at which point I unuversally get the "Unable to spawn child process" with no error number. And yes, it works fine if I fire off the script from an interactive shell. That is the only way it does work. What am I missing? I can't believe anything in Perl would REQUIRE an interactive shell. (Oh and its running on CentOS 6.3 - so Linux not Windows) Please advise.
Back to
Seekers of Perl Wisdom
|
|