in reply to Getting Results back from System Call
or$status = system("command");
Pick the one you use, based on what you need to collect.$output = `command`;
(If you're trying to say that your command is not working properly when invoked through a perl script (as opposed to being invoked interactively at the shell prompt), then it may be sensitive to whether its STDIN is attached to an interactive device like a tty. But that wasn't completely clear from your question.)
--
[ e d @ h a l l e y . c c ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Getting Results back from System Call
by gtrattner (Initiate) on Aug 08, 2003 at 19:38 UTC | |
by BrowserUk (Patriarch) on Aug 09, 2003 at 12:38 UTC |