views:

431

answers:

1

Hi. I created a perl script which starts another script. But the started script must be closed after it has performed its task. How can I do it? I have tried the EXIT command but i didnt work.

Thanks.

+2  A: 

If you start CMD with the /C parameter it will terminate when the command is finished.

Brody