What would be a good way to launch an external script from a Mason page
that would run independently?
From a plain Perl script I would do a fork and have the second process
launch the external script and exit, but I guess a fork is out of the
question for Mason.
I would do: system("external.pl &") followed by system("disown %1"), but
I'm not sure if that would work (and correctly 100% of the time). What
if, for example, external.pl hasn't become job %1 yet when the disown
command is called?
Do you think this is a good way to launch?
Thanks,
- Karjala
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users