Hi,
I've developed a little ClearCase perl wrapper running under Windows shell. In some cases the wrapper just passes the clearcase commands and parameters to the "normal" IBM cleartool and exit.
I use exec to run the clearcase commands in these cases and it works as expected, but after the execution the shell hangs after the display of the command output. It waits for the pressing of enter on the keyboard to display the dos prompt.

Any idea? Is there a way to pass a newline or a carriage return to the shell just after the exec ()?

Regards,

/MaS

the exec() function in perl never returns to the perl script. Once you use it your perl script is exited. Ask on www.perlmonks.com if you do not get the answer on this forum.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.