User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Perl section within the Software Development category of DaniWeb, a massive community of 425,780 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,311 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Perl advertiser: Programming Forums
Views: 470 | Replies: 1
Reply
Join Date: Jun 2008
Posts: 1
Reputation: massfo is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
massfo massfo is offline Offline
Newbie Poster

Dos prompt after exec ()

  #1  
Jun 3rd, 2008
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2006
Posts: 620
Reputation: KevinADC is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 33
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Master Poster

Re: Dos prompt after exec ()

  #2  
Jun 3rd, 2008
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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Perl Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Perl Forum

All times are GMT -4. The time now is 2:56 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC