Re: [HACKERS] How to determine if psql returns ZERO to the shell and finished successfully?

2007-11-09 Thread Jorgen Austvik - Sun Norway
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:

[HACKERS] How to determine if psql returns ZERO to the shell and finished successfully?

2007-11-08 Thread Tommy
Hello, I'm implementing a Setup Wizard to install PostgreSQL. In the documentation it states that psql returns ZERO to the shell if it finished successfully. I'm implementing a wizard in Pascal and was wondering the correct syntax to check whether or not the shell received ZERO? For example,

Re: [HACKERS] How to determine if psql returns ZERO to the shell and finished successfully?

2007-11-08 Thread Andrew Dunstan
Tommy wrote: Hello, I'm implementing a Setup Wizard to install PostgreSQL. In the documentation it states that psql returns ZERO to the shell if it finished successfully. I'm implementing a wizard in Pascal and was wondering the correct syntax to check whether or not the shell received