Return Lua system-exec exit status
This commit is contained in:
parent
301d2954c5
commit
0ea0b656b8
@ -459,8 +459,7 @@ lua_exec (std::string cmd)
|
|||||||
if (x.start()) {
|
if (x.start()) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
x.wait ();
|
return x.wait ();
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user