We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbf7a73 commit f138d70Copy full SHA for f138d70
1 file changed
modules/darwin/start-on-activation.nix
@@ -5,7 +5,7 @@
5
}:
6
with lib; let
7
cfg = config.system.startOnActivation;
8
- openIfNotRunning = proc: path: "pgrep -q ${proc} || open ${path}";
+ openIfNotRunning = proc: path: "pgrep -q ${proc} || open ${escapeShellArg path}";
9
in {
10
options.system.startOnActivation = mkOption {
11
type = types.attrsOf types.str;
0 commit comments