Re: How to determine if psql returns ZERO to the "shell" and finished successfully?

Started by Jorgen Austvik - Sun Norwayabout 18 years ago1 messages
#1Jorgen Austvik - Sun Norway
Jorgen.Austvik@Sun.COM

Tommy wrote:

How exactly can I check to see if psql returns ZERO to the "shell"? What do
I test for? If(Psql.exe)? or is there a variable I can check to see if it
has been set?

If you are running Delphi on Windows (the MsgBox makes me guess so),
take a look here:
http://delphi.about.com/od/windowsshellapi/a/executeprogram.htm

-J
--

J�rgen Austvik, Software Engineering - QA
Database Technology Group

Sun Microsystems AS
Haakon VII gt. 7b
N-7485 Trondheim, Norway
Phone +47 73 84 21 10
Fax +47 73 84 21 01
Mobile +47 90 19 78 86