Author Topic: Process terminated with status 0  (Read 27036 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6511
    • My Best Post
Re: Process terminated with status 0
« Reply #15 on: April 10, 2013, 02:19:15 am »
The time is likely different just based on what else is running on your computer; the returned value of 0 is normal for running a program.

There is NO indication that you have a problem.

Tim S.

So then...this "Process terminated with status 0" is really just meaningless, as long as it turns no errors or warnings?

Zero is the normal returned value; if it is NOT zero it typically means something is wrong.

So if "Process terminated with status -1" likely means your program returned -1 in it.
Look up the exit function and return statement for more info.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Ascyndaeon

  • Single posting newcomer
  • *
  • Posts: 4
Re: Process terminated with status 0
« Reply #16 on: April 10, 2013, 02:21:07 am »
Zero is the normal returned value; if it is NOT zero it typically means something is wrong.

So if "Process terminated with status -1" likely means your program returned -1 in it.
Look up the exit function and return statement for more info.

Tim S.

Oh, okay. Thanks.

stefanos_

  • Guest
Re: Process terminated with status 0
« Reply #17 on: April 10, 2013, 08:37:39 am »
If you are under Windows 7 with a firewall and or an antivirus installed, check your antivirus settings; you might have set them at high security and block executables at random. I have had an issue like this in one my PCs at my labs where I work as IT Tech Support.