1
0
Fork 0
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
..
bind Improve return value of OS.execute in blocking/non-blocking variants 2018-11-01 11:39:20 +01:00
helper
io Fix marshalls size checks. 2018-07-28 21:21:19 +02:00
math Vector3::round, Vector2::round & Vector2::ceil methods were added. 2018-06-01 18:08:29 +02:00
os Mono: Allow loading `mscorlib` from resources. 2018-06-13 11:57:40 +00:00
SCsub add NoCache wrapper to Command 2018-06-22 14:42:14 +02:00
allocators.h
array.cpp
array.h
class_db.cpp Hand-merge API hash fixes #18514 2018-04-29 20:44:48 +02:00
class_db.h
color.cpp
color.h
color_names.inc
command_queue_mt.cpp
command_queue_mt.h Fix various valgrind reported uninitialized variable uses 2018-03-01 21:06:31 +01:00
compressed_translation.cpp
compressed_translation.h
core_string_names.cpp
core_string_names.h
dictionary.cpp Add Dictionary::erase_checked(key) method 2018-07-28 16:06:30 +02:00
dictionary.h Add Dictionary::erase_checked(key) method 2018-07-28 16:06:30 +02:00
dvector.cpp
dvector.h Style: Format code with clang-format 6.0.1 2018-07-18 16:37:23 +02:00
engine.cpp
engine.h
error_list.h
error_macros.cpp
error_macros.h
func_ref.cpp
func_ref.h
global_constants.cpp
global_constants.h
hash_map.h
hashfuncs.h
image.cpp add condition check in Imgae::create(...) 2018-05-13 21:59:22 +02:00
image.h
input_map.cpp
input_map.h
int_types.h
list.h
make_binders.py
map.h
message_queue.cpp
message_queue.h
method_bind.cpp
method_bind.h
method_ptrcall.h
node_path.cpp
node_path.h
oa_hash_map.h
object.cpp
object.h
ordered_hash_map.h
packed_data_container.cpp
packed_data_container.h
pair.h
path_remap.cpp
path_remap.h
pool_allocator.cpp
pool_allocator.h
print_string.cpp
print_string.h
project_settings.cpp Fix non working action names containing whitespaces 2018-04-28 17:04:20 +02:00
project_settings.h
ref_ptr.cpp
ref_ptr.h
reference.cpp
reference.h
register_core_types.cpp
register_core_types.h
resource.cpp
resource.h
rid.cpp
rid.h
ring_buffer.h
safe_refcount.cpp
safe_refcount.h
script_debugger_local.cpp
script_debugger_local.h
script_debugger_remote.cpp Fix debugger focus stealing 2018-07-08 15:39:15 +02:00
script_debugger_remote.h Fix debugger focus stealing 2018-07-08 15:39:15 +02:00
script_language.cpp
script_language.h Mono: Avoid invalid class names. 2018-04-15 00:48:11 +02:00
self_list.h
set.h
simple_type.h
sort.h
string_buffer.cpp
string_buffer.h
string_builder.cpp
string_builder.h
string_db.cpp
string_db.h
translation.cpp
translation.h
type_info.h
typedefs.h Make _ALWAYS_INLINE_ and _FORCE_INLINE_ equivalent 2018-07-27 17:14:22 +02:00
ucaps.h
undo_redo.cpp
undo_redo.h
ustring.cpp fix API string path 2018-05-13 23:03:48 +02:00
ustring.h
variant.cpp
variant.h
variant_call.cpp Vector3::round, Vector2::round & Vector2::ceil methods were added. 2018-06-01 18:08:29 +02:00
variant_construct_string.cpp
variant_op.cpp Fix names of Variant operators 2018-04-28 22:56:33 +02:00
variant_parser.cpp
variant_parser.h
vector.h
version.h
vmap.h
vset.h