Skip to content

Commit f9b2be1

Browse files
committed
Let work directory can be empty
1 parent d13901b commit f9b2be1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,6 @@ public interface IPublicAPI
591591
/// <param name="workingDirectory">Working directory. If not specified, the current directory will be used</param>
592592
/// <param name="arguments">Optional arguments to pass to the process. If not specified, no arguments will be passed</param>
593593
/// <param name="runAsAdmin">Whether to run the process as administrator</param>
594-
public void StartProcess(string filePath, string workingDirectory, string arguments = "", bool runAsAdmin = false);
594+
public void StartProcess(string filePath, string workingDirectory = "", string arguments = "", bool runAsAdmin = false);
595595
}
596596
}

Flow.Launcher/PublicAPIInstance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ public long StopwatchLogInfo(string className, string message, Action action, [C
577577
public Task<long> StopwatchLogInfoAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "") =>
578578
Stopwatch.InfoAsync(className, message, action, methodName);
579579

580-
public void StartProcess(string filePath, string workingDirectory, string arguments = "", bool runAsAdmin = false)
580+
public void StartProcess(string filePath, string workingDirectory = "", string arguments = "", bool runAsAdmin = false)
581581
{
582582
try
583583
{

0 commit comments

Comments
 (0)