in reply to Re: Run sequential processes (Matlab, SAS, etc.) from Perl
in thread Run sequential processes (Matlab, SAS, etc.) from Perl
Okay, I tried this at the command line, but it immediately started processing BOTH before the first had finished:
matlab mycode.m log.txt | perl myperlscript.pl
the matlab code spits out a csv file that is needed in the perl script.
The matlab code is run in the background. Maybe that's affecting this.
By the way, I also tried using semicolons as suggested, but the result was the same. I need to wait until the first process has completed before starting the second.