Update CmdHelper.cs

pull/15734/head
maliming 3 years ago committed by GitHub
parent ff5d22ad1d
commit 6789257ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -174,7 +174,7 @@ public class CmdHelper : ICmdHelper, ITransientDependency
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX) || RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
return delaySeconds == null ? "-c \"" + command + "\"" : "-c \"" + $"sleep {delaySeconds}s > /dev/null && " + command + "\"";
return delaySeconds == null ? "-c \"" + command + "\"" : "-c \"" + $"sleep {delaySeconds} > /dev/null && " + command + "\"";
}
//Windows default.

Loading…
Cancel
Save