Skip to content

Commit cc743c1

Browse files
committed
fix unintended use of direct startInfo.Arguments in context menu
1 parent 3bdc82a commit cc743c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Core/Plugin/PythonPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ protected override string ExecuteContextMenu(Result selectedResult)
6161
{
6262
Method = "context_menu", Parameters = new object[] {selectedResult.ContextData},
6363
};
64-
_startInfo.Arguments = $"-B \"{context.CurrentPluginMetadata.ExecuteFilePath}\" \"{request}\"";
64+
_startInfo.ArgumentList[2] = request.ToString();
6565
_startInfo.WorkingDirectory = context.CurrentPluginMetadata.PluginDirectory;
6666

6767
// TODO: Async Action

0 commit comments

Comments
 (0)