mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Let work directory can be empty
This commit is contained in:
parent
d13901bb9d
commit
f9b2be1fc7
2 changed files with 2 additions and 2 deletions
|
|
@ -591,6 +591,6 @@ namespace Flow.Launcher.Plugin
|
|||
/// <param name="workingDirectory">Working directory. If not specified, the current directory will be used</param>
|
||||
/// <param name="arguments">Optional arguments to pass to the process. If not specified, no arguments will be passed</param>
|
||||
/// <param name="runAsAdmin">Whether to run the process as administrator</param>
|
||||
public void StartProcess(string filePath, string workingDirectory, string arguments = "", bool runAsAdmin = false);
|
||||
public void StartProcess(string filePath, string workingDirectory = "", string arguments = "", bool runAsAdmin = false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -577,7 +577,7 @@ namespace Flow.Launcher
|
|||
public Task<long> StopwatchLogInfoAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "") =>
|
||||
Stopwatch.InfoAsync(className, message, action, methodName);
|
||||
|
||||
public void StartProcess(string filePath, string workingDirectory, string arguments = "", bool runAsAdmin = false)
|
||||
public void StartProcess(string filePath, string workingDirectory = "", string arguments = "", bool runAsAdmin = false)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue