RE: Nothing executes after system.

2004-03-05 Thread Hanson, Rob
--Original Message- From: Silky Manwani [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 1:30 PM Cc: [EMAIL PROTECTED] Subject: Re: Nothing executes after system. It doesn't wait for the password. I can see that it switches the user coz the prompt changes. But as you said , yes

Re: Nothing executes after system.

2004-03-05 Thread Silky Manwani
It doesn't wait for the password. I can see that it switches the user coz the prompt changes. But as you said , yes, since another process gets spawned and su gets executed. Is there another way os saying "su" using perl? Thanks. On Mar 5, 2004, at 10:26 AM, Hanson, Rob wrote: Any idea why pr

RE: Nothing executes after system.

2004-03-05 Thread Hanson, Rob
> Any idea why print never gets executed? The su is probably waiting for you to enter in a password. ...And this probably doesn't do what you think anyway. Even though you su, it doesn't change who the current script is running under. Your program (as written) will spawn a new process, execute