running application from perl

Discussion in 'Programmer's Corner' started by tuborggg, Feb 18, 2009.

  1. tuborggg

    Thread Starter Active Member

    Jan 3, 2009
    37
    0
    Hi
    I'm trying to run a matlab application from within a perl script (unix OS).
    I tried system(), exec, and fork with no sucess -
    It does open the application but "waits" for it to finish.
    Even adding '&' to the system command doesn't help -
    Running without the '&' run the matlab - but doesn't continue with my application, with the '&' runs a weird command line > which tells me there's an error running the matlab...
    Thanks.
     
Loading...