I'm calling princexml from a Catalyst View (perl) on a webserver. The invocation of prince looks something like this:
The command is invoked when a certain url is visited on my website.
After invoking the command, I can see the prince process running in the background, but it never completes. I am able to invoke the same command from the command-line without any issues.
I know the catalyst server performs some custom signal-handling. Therefore, I've tinkered around with sending some signals (SIGTTIN, SIGTTOU, etc) to the princexml process, without success.
Is this a limitation of the 'Personal' edition of the product? OR is there a way to do this?
system("/usr/local/bin/prince --input=html --baseurl=http://dev" .
" -o /tmp/xFEWSDFdfd /tmp/xdFEFEfd");
The command is invoked when a certain url is visited on my website.
After invoking the command, I can see the prince process running in the background, but it never completes. I am able to invoke the same command from the command-line without any issues.
I know the catalyst server performs some custom signal-handling. Therefore, I've tinkered around with sending some signals (SIGTTIN, SIGTTOU, etc) to the princexml process, without success.
Is this a limitation of the 'Personal' edition of the product? OR is there a way to do this?