Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^7: system sub routine with windows7

by Njoud (Initiate)
on Jun 28, 2013 at 20:30 UTC ( #1041337=note: print w/replies, xml ) Need Help??

in reply to Re^6: system sub routine with windows7
in thread system sub routine with windows7

I have misunderstanding :( !. maybe I can't make my question be clear to you. the glomosim is a network simualtor , whatever , when I want to execute the file ( I go to cmd.exe and write the command (glomosim and press enter. So glomosim here is a command , as you have said, I want to pass this command (glomosim and run it on cmd.exe from perl. when I write :

@args = ("glomosim", "c:\\glomosim\\bin\\"); system(@args) == 0 or die "system @args failed: $?";
I got the error : can't spawn "cmd.exe" : No such file or directory at line 71 system glomosim c:\glomosim\bin\ failed ... I am beginner with perl and using windows7, so sorry for my many questions. :) Thank you

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041337]
[Corion]: Oh - jwz gives us interesting insight in cloud hosting. I'm amazed how many people suggest he rework his setup into AWS, even though that brings a lot of rearchitecting just to make it wo
[Corion]: ... work
[erix]: interesting...
erix especially likes the "alot is not a word" muttering

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-06-24 07:14 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (557 votes). Check out past polls.