Top "Return-code" questions

Killing a process with taskkill /F returning code 0

I need to kill a windows process (java.exe). I'm currently using: taskkill.exe /F /IM java.exe I need …

windows process batch-file return-code taskkill
How to return error code from constructor?

I am trying to return error code from constructor, since constructor does not return an error code, I tried to …

c++ exception constructor return-code
How to run ant script from a shell script?

I need to run an ant script from a shell script and if the ant script is executed successfully I …

shell ant scripting websphere-mq-fte return-code
How to check if PSFTP process returns 0 with batch file

I am writing a batch script with takes files from a directory and copies them remotely using psftp. Here is …

windows batch-file putty return-code
Does exit code status with zero value always mean successfully run in Perl?

I have a Perl script that will execute three applications. All of it have different exit code status. First application …

perl status exit-code return-code exitstatus
How to set ExitCode in a VCL Forms Application

I can't get ExitCode to work for a VCL forms application. Here is my test application. It was created from …

delphi vcl exit-code return-code