in reply to OS command execution
#!/usr/local/bin/perl my $cmd = "runme.bat"; open (DATA,"$cmd |"); while (my $line = <DATA>) { print "got $line"; } close (DATA);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: OS command execution
by fsn (Friar) on Oct 14, 2002 at 16:06 UTC |