summaryrefslogtreecommitdiff
path: root/platform/javascript/platform_config.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-05-30 12:18:01 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-05-30 12:55:17 +0200
commitf392650be2434aadad71af95a0b81a33900e84ec (patch)
treebd8132a76fb62520102b81d553cf19ca35a193d0 /platform/javascript/platform_config.h
parent3d9dffdef7d436cda779ee4a659476fa94c62a35 (diff)
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.
Diffstat (limited to 'platform/javascript/platform_config.h')
0 files changed, 0 insertions, 0 deletions