Re: interactive unix commands

2001-05-12 Thread Brett W. McCoy
On Sat, 12 May 2001, cherukuwada subrahmanyam wrote: > Is there any way we can use perl to execute interactive unix commands > without being prompted for arguments? Of course. You can pipe into the programs standard input. Or you can use the Exepct module form CPAN. --

Re: interactive unix commands

2001-05-12 Thread Me
> Is there any way we can use perl to execute interactive > unix commands without being prompted for arguments? In general, just pipe into the command's standard input. > Ex:- passwd command asks for the password. I suspected passwd might be different, so I did a quick deja

interactive unix commands

2001-05-12 Thread cherukuwada subrahmanyam
Hi, Is there any way we can use perl to execute interactive unix commands without being prompted for arguments? Ex:- passwd command asks for the password. Can we use perl to make a wrapper around the passwd command so that we can pass the arguments to the wrapper while executing it i.e wrap.pl