On Tue, Jun 10, 2003 at 12:34:19PM -0400, Chris Staskewicz wrote:

> Currently I'm running the Perl script at the command-line with a
> "./run.pl".  The problem is that once Perl hits the system call, the shell
> hangs until I manually type "exit".  Then the program chokes since all the
> code after the "be" call requires the permissions from "be".  Any ideas on
> passing the "be" info to Perl and stop this hanging?

I think you might be able to do this by setting $< and/or $>.  You can use
getpwnam() to figure out the user id for a given user name.

Ronald
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to