godot/platform
Rémi Verschelde 80e66a6214 Improve return value of OS.execute in blocking/non-blocking variants
Initialized the PID to -2, which will be the value returns in blocking-
mode where the PID is not available. (-1 was already taken to signify an
execution failure).

OS::execute will now properly return a non-OK error code when it fails
to execute the target file.

The documentation was rewritten to be very clear about the differences
between blocking and non-blocking mode.

Fixes #19056.

(cherry picked from commit f392650be2)
2018-11-01 11:39:20 +01:00
..
android Fix build with Android NDK r18 2018-10-15 16:27:40 +02:00
haiku Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
iphone Style: Format code with clang-format 6.0.1 2018-07-18 16:37:23 +02:00
javascript Javascript: Remove weird log 2018-06-01 18:00:51 +02:00
osx Fix custom cursor disappearing on osx 2018-05-13 21:51:25 +02:00
server SCons: Fix linking system pcre2 on server platform 2018-03-04 13:47:35 +01:00
uwp Style: Format code with clang-format 6.0.1 2018-07-18 16:37:23 +02:00
windows Improve return value of OS.execute in blocking/non-blocking variants 2018-11-01 11:39:20 +01:00
x11 Style: Format code with clang-format 6.0.1 2018-07-18 16:37:23 +02:00
register_platform_apis.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub