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' ?

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to