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

Re: Execution of external command hangs

by Old_Gray_Bear (Bishop)
on Aug 29, 2013 at 23:31 UTC ( [id://1051529]=note: print w/replies, xml ) Need Help??


in reply to Execution of external command hangs

Try a different command, say dir. If it works, the the problem dds_cmd itself. (Perhaps it doesn't write an EOL after its output or something else silly like that.)

When I tried to reproduce your problem I got

Microsoft Windows Version 6.1.7601 Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\bear>dds_cmd -Version 'dds_cmd' is not recognized as an internal or external command,operable program or batch file.

C:\Users\bear>

So, what is the dds_cmd command? And what is it supposed to give me? Does it depend on the rights of the User executing the command? Or perhaps an ENV variable that is set in your profile and not in the profile executing the Perl code?

----
I Go Back to Sleep, Now.

OGB

Replies are listed 'Best First'.
Re^2: Execution of external command hangs
by amitrev (Initiate) on Aug 30, 2013 at 13:43 UTC
    It is exe - C code.

    I have try the sugestion of BrowserUk adding the local $/ = "\n"; ################### line but without success

    The problem is still there and I'm still not able to find why this appears only on Windows 2003

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-20 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found