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 ()?