http://qs321.pair.com?node_id=104062

falken has asked for the wisdom of the Perl Monks concerning the following question:

I have an application that i'm executing with in perl with the system("cmd &") call. For some reason it is requiring it have STDIN. I have closed all STDIN, STDOUT STDERR fd's and tried the POSIX setsid(). All with no luck. Is there anyway in perl I can switch the tty with posix functions and (or) fool the application into a another non-used tty?

Originally posted as a Categorized Question.