--- nfo/perl/libs/shortcuts.pm 2003/06/25 22:49:56 1.16 +++ nfo/perl/libs/shortcuts.pm 2003/12/05 04:58:04 1.18 @@ -1,7 +1,13 @@ ## --------------------------------------------------------------------------- -## $Id: shortcuts.pm,v 1.16 2003/06/25 22:49:56 joko Exp $ +## $Id: shortcuts.pm,v 1.18 2003/12/05 04:58:04 joko Exp $ ## --------------------------------------------------------------------------- ## $Log: shortcuts.pm,v $ +## Revision 1.18 2003/12/05 04:58:04 joko +## + minor update: doesn't require IPC::Session anymore +## +## Revision 1.17 2003/07/02 11:17:32 jonen +## minor changes +## ## Revision 1.16 2003/06/25 22:49:56 joko ## RUNNING_IN_HELL mode for detach option ## @@ -81,7 +87,7 @@ use Carp; # NEW - 2003-06-23 for Linux (what about *BSD?) -use IPC::Session; +#use IPC::Session; use File::Spec; use Proc::Background; @@ -328,12 +334,13 @@ my $proc1 = Proc::Background->new(@cmd); print "pid: ", $proc1->pid(), "\n"; } else { - print STDERR "run_cmd[detach]: system('$cmd' &).", "\n"; + print STDOUT "run_cmd[detach]: system('$cmd' &).", "\n"; system($cmd . ' &'); } } else { print STDOUT "run_cmd: system('$cmd').", "\n"; + #print $ENV{PERL5LIB}, "\n"; system($cmd); }