mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-02 05:01:56 -07:00
fix raw exec in configmanager
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user