> It seems, that Unix.POpen(TxtFile,cmd,'R') does not work. > Giving no error, cmd is not executed, EOF(TxtFile) is true > and Unix.PClose gives result 127. > > Is that a known issue? I could not find anything about that > in the mailing list archive or buck tracking system. > > Do I miss something? Is there a workaround?
Fixed (in 2.1.1, r4894) , probably introduced during the vfork changes. A returnvalue was compared to 1 instead of -1. Twice. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal