diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2025-02-25 22:02:02 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2025-02-25 22:02:02 -0600 |
| commit | e22f14e9d12d4bb53d3b802b7bbd5a445e2afbed (patch) | |
| tree | ac12b3656592089def762742828cbce905adb0b5 /src/slskd/Integrations | |
| parent | 3d48f846bc90d299fa2bf0d22d868aada4ad00ff (diff) | |
| download | slskd-e22f14e9d12d4bb53d3b802b7bbd5a445e2afbed.tar.gz | |
quote command
Diffstat (limited to 'src/slskd/Integrations')
| -rw-r--r-- | src/slskd/Integrations/Scripts/ScriptService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Integrations/Scripts/ScriptService.cs b/src/slskd/Integrations/Scripts/ScriptService.cs index 6c289832..0d789a91 100644 --- a/src/slskd/Integrations/Scripts/ScriptService.cs +++ b/src/slskd/Integrations/Scripts/ScriptService.cs @@ -115,7 +115,7 @@ public class ScriptService CreateNoWindow = true, RedirectStandardOutput = true, RedirectStandardError = true, - Arguments = run.Command.StartsWith(DefaultCommandPrefix) ? run.Command : $"{DefaultCommandPrefix} {run.Command}", + Arguments = run.Command.StartsWith(DefaultCommandPrefix) ? run.Command : $"{DefaultCommandPrefix} \"{run.Command}\"", }, }; } |
