[fpc-pascal] Unix.POpen does not work

Marco van de Voort marcov at stack.nl
Sat Oct 14 00:29:30 CEST 2006


>    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.




More information about the fpc-pascal mailing list