Re: How to determine if psql returns ZERO to the "shell" and finished successfully? - Mailing list pgsql-hackers

From Jorgen Austvik - Sun Norway
Subject Re: How to determine if psql returns ZERO to the "shell" and finished successfully?
Date
Msg-id 47341AB7.2070601@sun.com
Whole thread Raw
In response to How to determine if psql returns ZERO to the "shell" and finished successfully?  ("Tommy " <tommyflewwelling@hotmail.com>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: New tzdata available
Next
From: Magnus Hagander
Date:
Subject: Re: New tzdata available