Am 02.02.2012 17:32, schrieb Maxi:
In this case is only 1 process and 1 result so no need to call three separate processes Executes a single TProcess with "df-hT | grep-v-E 'tmpfs | ecryptfs' | grep 'sda2' "
This won't work as TProcess uses "fork"/"exec" to execute the new process and not "system". But because of the pipes the "system" call would be needed. Thus the manual solution.
Regards, Sven -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
