bsummerer has asked for the wisdom of the Perl Monks concerning the following question:
I looked on the site search and tutorial on how to do this, but searching for "command line" gives me perl execution options...
Anywho, I put together a script that pings an URL then if it's dead, it logs the error and runs a netstart/netstop from the command line. Haven't figured that part out yet. If I'm running the script at, say c:\ and I want to run a file called "something" with the arguements "this and that", how would I do that (essentially what is the perl equivalent of "execvp(argv[0],argv)" in c++?)
Edited 2001-04-20 by Ovid
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: I'm an idiot newbie, so
by Chady (Priest) on Apr 20, 2001 at 22:53 UTC | |
by bsummerer (Initiate) on Apr 20, 2001 at 23:00 UTC | |
by bbfu (Curate) on Apr 20, 2001 at 23:37 UTC | |
by arhuman (Vicar) on Apr 21, 2001 at 17:16 UTC | |
Re: I'm an idiot newbie, so
by Beatnik (Parson) on Apr 21, 2001 at 02:46 UTC | |
Re: I'm an idiot newbie, so
by Tuna (Friar) on Apr 21, 2001 at 02:08 UTC | |
Re: I'm an idiot newbie, so
by diskcrash (Hermit) on Apr 21, 2001 at 21:33 UTC |
Back to
Seekers of Perl Wisdom