mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-22 07:05:03 +01:00
Fix per mikedld on the trap '' SIGINT issue when using bash wait.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
5fbe817b96
commit
df5d63f1ef
@ -49,6 +49,7 @@ int main(int argc, char** argv)
|
|||||||
}
|
}
|
||||||
else if (arg == "-raise-int")
|
else if (arg == "-raise-int")
|
||||||
{
|
{
|
||||||
|
std::signal(SIGINT, SIG_DFL);
|
||||||
std::raise(SIGINT);
|
std::raise(SIGINT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user