> > TProcess.CommandLine property as the first argument, when it should only get the > > binary name. The error is probably in the MakeCommand() line in > > process.inc. > > I don't know if you already know this or if you can use it, but there are > other commands on linux like ExecVE wich can handle the complete > commandline. (ExecXX)
Actually, Linux (the kernel) only has ExecVE. GNU libc has some more variants, but FPC does't use libc directly. FPC rolls its own set based on kernel.execve with native strings, see fpexec* in baseunix/unix However these only became usable with 1.9.4+, and FCL has to work with 1.0.x too which is probably the reason for TProcess to use execve (avoid the shortstring versions of 1.0.x) _______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
