1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00
Files
godot/core
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
..
2018-07-28 21:21:19 +02:00
2018-04-29 20:44:48 +02:00
2018-02-22 12:17:06 +01:00
2018-02-22 12:17:06 +01:00
2018-02-22 12:17:06 +01:00
2018-02-22 12:17:06 +01:00
2018-02-22 12:17:06 +01:00
2018-06-22 14:42:14 +02:00
2018-02-22 12:17:06 +01:00
2018-05-13 23:03:48 +02:00
2018-04-28 22:56:33 +02:00
2018-02-22 12:17:06 +01:00