Note that all of the code in preExecFunction must be async-signal-safe

This commit is contained in:
Hiroki Noda 2021-08-26 21:46:07 +09:00
parent f9fc1f612a
commit 1aad510fb3

View file

@ -2159,6 +2159,8 @@ struct Config
/**
A function that is called before `exec` in $(LREF spawnProcess).
It returns `true` if succeeded and otherwise returns `false`.
Please note that the code in this function must only use
async-signal-safe functions.
On Windows, this member is not available.
*/
bool function() nothrow @nogc @safe preExecFunction;