Seth Grover wrote: > I'm working with TProcess, which for the most part I love, but I'm > scratching my head right now because of a problem I'm experiencing. > > Suppose I have the following command: > > ifconfig | grep -E -e "inet6? addr:" | grep -v -E -e > "(127.0.0.1|::1|Scope:Link)" | sed -e > "s/^.*addr:\s*\(\S*\)\(\/\d+\)*.*$/\1/g"
Do you mean the same as this issue: http://bugs.freepascal.org/view.php?id=14446 TProcess does not support bash style syntax where parameters need to be placed in quotes etc. This issue confuses the hell out of me as well. Marco suggested a good solution - but it's not implemented yet. TProcess parameters must be an array and not a string. anyway, read the bug report to understand more of how TProcess interprets things. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel