avaurus has asked for the wisdom of the Perl Monks concerning the following question:
This snippet does work, but if I pass a parameter it will only get "ipconfig":open(STATUS, "ipconfig |"); while (<STATUS>) { print $_; } close(STATUS);
If I execute that script, only the "ipconfig"-part will be executed. Open takes not care about the rest "bla1". I need to mention that this perl-script runs on windows 2000. It would be very nice, if someone can help. Thank you. Dear avaurus.open(STATUS, "ipconfig bla1 |"); while (<STATUS>) { print $_; } close(STATUS);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: open(), ipc and some problems
by northwind (Hermit) on May 11, 2005 at 16:32 UTC | |
by avaurus (Initiate) on May 12, 2005 at 07:13 UTC | |
by northwind (Hermit) on May 12, 2005 at 07:41 UTC | |
|
Re: open(), ipc and some problems
by mda2 (Hermit) on May 11, 2005 at 16:54 UTC | |
by avaurus (Initiate) on May 12, 2005 at 07:15 UTC |