[fpc-pascal] Linux - ExecuteProcess versus fpSystem
smitco at telenet.be
Thu Sep 8 17:03:02 CEST 2011
----- "brian" <brian at meadows.pair.com> schreef:
> This is reproducible on a whole batch of files, and yes, I've checked
> all the file permissions.
> It's got to be something obvious, or some quirk of Linux programming
> that I haven't met up with yet (I'm still a novice with FreePascal and
> Linux, though I've many years experience with Delphi and Windows).
> What am I missing?
from what I understand, you are trying to run 2 commands?
one question that I ask myself then is: why does your driving program have to be a fpc program? What is wrong with a shell script?
while you may have valid reasons for doing so, have you tried to put that flow (calling of the 2 commands) into a single shell script and executing that instead?
More information about the fpc-pascal