fix a little bit more

This commit is contained in:
Hongtao Zhang 2023-03-26 14:05:41 -05:00
parent a3367abd7a
commit b425aac159
No known key found for this signature in database
GPG key ID: 75F655B91C7AC9BB

View file

@ -47,7 +47,7 @@ namespace Flow.Launcher.Core.Plugin
protected override string Request(JsonRPCRequestModel rpcRequest, CancellationToken token = default)
{
// since this is not static, request strings will build up in ArgumentList if index is not specified
_startInfo.ArgumentList[2] = rpcRequest.ToString();
_startInfo.ArgumentList[2] = JsonSerializer.Serialize(rpcRequest);
_startInfo.WorkingDirectory = Context.CurrentPluginMetadata.PluginDirectory;
// TODO: Async Action
return Execute(_startInfo);