Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Executing a external command

by mantra2006 (Hermit)
on Aug 31, 2006 at 12:20 UTC ( #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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-08-10 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?