-   Linux - Software (
-   -   perl script call python -linux (

cdd 05-03-2007 03:04 PM

perl script call python -linux
I have a perl script that is running in windows environment. This is calling python BodyTextExtractor.
My problem is: I have to move the script to run on linux and I have to change the following part of the script and I don't know how. Please help me!

use Win32::Job;

$job = Win32::Job->new;

open(FILE_tmp2, ">$PName");
$job->spawn("C:\\Python24\\python.exe", "python $PName.txt",
stdout => FILE_tmp2,
$status = $job->run(60);
close FILE_tmp2;

Thanks a lot!

reddazz 05-03-2007 04:45 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

All times are GMT -5. The time now is 01:25 PM.