Joel Bernstein escribió:
2009/12/3 Ha, Tuan Trung <[email protected]>:
Hi everyone,

I am new to Catalyst, and I just want to execute a script from
Controller in Catalyst, something like this:

system("perl /path/to/my/script.pl");


I've had to do this:

{
  local $SIG{'CHLD'} = 'DEFAULT';

  my $ret = system(...);

}

Note: I'm using the devel server in forked mode, and using a quite old Catalyst (debian etch distro).

Jose Luis Martinez
[email protected]

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to