mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:05:59 +01:00
fix raw exec in configmanager
This commit is contained in:
parent
349afa0e7a
commit
ce8c20c1ed
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ void CConfigManager::handleRawExec(const std::string& command, const std::string
|
|||
// run in grandchild
|
||||
close(socket[0]);
|
||||
close(socket[1]);
|
||||
execl("/bin/sh", "/bin/sh", "-c", args.c_str(), nullptr);
|
||||
execl("/bin/sh", "/bin/sh", "-c", toExec.c_str(), nullptr);
|
||||
// exit grandchild
|
||||
_exit(0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue