Vincent Snijders wrote:
A.J. Venter schreef:

Nothing was changed.
Can you please give some sample code? It's hard to say something in general.

Note that > or  | cannot be used unless you invoke the shell with a
commandline like
/bin/sh -c "your command > yourfile"

I mean when I launch the program myself on the commandline e.g.
./hawkstoneadmin | grep "INSERT INTO"

So the piping should, in theory, have no effect on this call:
function GetCanID:String
Var StrList: TStringList;
Begin
 execute ('/usr/bin/getcanid.sh',StrList)

is '/usr/bin/getcanid.sh' an executable? Maybe you should use something like:
'/bin/sh /usr/bin/getcanid.sh' ?
Aye it is, I wrote it myself.
And the bangpath is correct as well.

A.J.

--
"Any sufficiently advanced technology is indistinguishable from magic" - Clarke's law "Any technology that is distinguishable from magic is insufficiently advanced" -Gehm's corollary "Any technologist that is distinguishable from a magician is insufficiently advanced" - My corollary
The worlds worst webcomic: http://silentcoder.co.za/scartoonz
The worlds best cybercafe manager: http://outkafe.outkastsolutions.co.za

begin:vcard
fn:AJ Venter
n:Venter;AJ
org:Global Pact Trading Pty. Ltd.;OutKast Solutions
email;internet:[EMAIL PROTECTED]
title:Director of Product Development
tel;work:+27 21 554 5059
tel;fax:+27 11 252 9197
tel;cell:+27 83 455 9978
url:http://www.outkastsolutions.co.za
version:2.1
end:vcard

Reply via email to