Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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:

Comment on Re: system sub routine with windows7
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041195]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2015-11-30 18:37 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (778 votes), past polls