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