Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Executing a external command

by mantra2006 (Hermit)
on Aug 31, 2006 at 12:20 UTC ( [id://570595]=note: print w/replies, xml ) Need Help??


in reply to Executing a external command

Hello
When I run your command in my system (Win2K) it gave a directory
list and $cmd as 0.
Coming to your question when you execute a command using system
it returns a status of the execution of the command
for eg. system command is success then it returns "0"
or otherwise another number each number has its own meaning
in your case 65280 means the system command couldn't succeed in running...which Operating System
are you using to run this script?

Sridhar
Thanks & Regards Sridhar

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found