Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: system sub routine with windows7

by marto (Bishop)
on Jun 28, 2013 at 09:14 UTC ( #1041195=note: print w/replies, xml ) Need Help??


in reply to system sub routine with windows7

Find out why it doesn't work, for example:

#!/usr/bin/perl use strict; use warnings; my @args = ("dir", "c:\\"); # replace this with your command and the a +rgument system(@args) == 0 or die "system @args failed: $?"

See system for more information. If you're new the following may be helpful:

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041195]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2017-06-25 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (565 votes). Check out past polls.