Unverified Commit dc7cd1af authored by Erik Reider's avatar Erik Reider Committed by GitHub

Run script commands with "/bin/sh -c ..." (#519)

parent 5166de0e
......@@ -357,8 +357,8 @@ namespace SwayNotificationCenter {
spawn_env += additions;
}
string[] argvp = {};
Shell.parse_argv (cmd, out argvp);
string[] argvp;
Shell.parse_argv ("/bin/sh -c %s".printf (cmd), out argvp);
Pid child_pid;
int std_output;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment