Skip to content

Commit 8c81808

Browse files
committed
Change default value
1 parent 935101c commit 8c81808

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ public interface IPublicAPI
599599
/// <param name="useShellExecute">Whether to use shell to execute the process</param>
600600
/// <param name="verb">Verb to use when starting the process, e.g. "runas" for elevated permissions. If not specified, no verb will be used.</param>
601601
/// <returns>Whether process is started successfully</returns>
602-
public bool StartProcess(string filePath, string workingDirectory = "", string arguments = "", bool useShellExecute = true, string verb = "");
602+
public bool StartProcess(string filePath, string workingDirectory = "", string arguments = "", bool useShellExecute = false, string verb = "");
603603

604604
/// <summary>
605605
/// Start a process with the given file path and arguments
@@ -613,6 +613,6 @@ public interface IPublicAPI
613613
/// <param name="useShellExecute">Whether to use shell to execute the process</param>
614614
/// <param name="verb">Verb to use when starting the process, e.g. "runas" for elevated permissions. If not specified, no verb will be used.</param>
615615
/// <returns>Whether process is started successfully</returns>
616-
public bool StartProcess(string filePath, string workingDirectory = "", Collection<string> argumentList = null, bool useShellExecute = true, string verb = "");
616+
public bool StartProcess(string filePath, string workingDirectory = "", Collection<string> argumentList = null, bool useShellExecute = false, string verb = "");
617617
}
618618
}

Flow.Launcher/PublicAPIInstance.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ public long StopwatchLogInfo(string className, string message, Action action, [C
582582
public Task<long> StopwatchLogInfoAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "") =>
583583
Stopwatch.InfoAsync(className, message, action, methodName);
584584

585-
public bool StartProcess(string filePath, string workingDirectory = "", string arguments = "", bool useShellExecute = true, string verb = "")
585+
public bool StartProcess(string filePath, string workingDirectory = "", string arguments = "", bool useShellExecute = false, string verb = "")
586586
{
587587
try
588588
{
@@ -624,7 +624,7 @@ public bool StartProcess(string filePath, string workingDirectory = "", string a
624624
}
625625
}
626626

627-
public bool StartProcess(string filePath, string workingDirectory = "", Collection<string> argumentList = null, bool useShellExecute = true, string verb = "") =>
627+
public bool StartProcess(string filePath, string workingDirectory = "", Collection<string> argumentList = null, bool useShellExecute = false, string verb = "") =>
628628
StartProcess(filePath, workingDirectory, JoinArgumentList(argumentList), useShellExecute, verb);
629629

630630
private static string AddDoubleQuotes(string arg)

0 commit comments

Comments
 (0)