[ic] execute external command

interchange-users@lists.akopia.com interchange-users@lists.akopia.com
Fri May 18 09:05:00 2001


http://www.perl.com/pub/doc/manual/html/pod/perlfaq8.html#How_can_I_capture_STDERR_from_an

interchange.cfg
AllowGlobal catalog

page.html
[perl global=1]
        some perl (see above)
[/perl]

Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700




"Javier Martin" <martin@trymedia.com>
Sent by: interchange-users-admin@developer.akopia.com
05/18/2001 08:26 AM
Please respond to interchange-users

 
        To:     <interchange-users@developer.akopia.com>
        cc: 
        Subject:        [ic] execute external command


Hello everyone,

How do I execute external commands? I use the $Tag->file function passing
"command |" as filename and the target command is placed under the catalog
directory so theoretically this should work even in Safe mode and with the
NoAbsolute variable set. But it doesn't work!!

  [perl]
    my $result = $Tag->file("bin/command |");
  [/perl]


Thanks,
Javier Martin

_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users