diff options
Diffstat (limited to 'ShiftOS.WinForms/Applications')
| -rw-r--r-- | ShiftOS.WinForms/Applications/Terminal.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ShiftOS.WinForms/Applications/Terminal.cs b/ShiftOS.WinForms/Applications/Terminal.cs index 2708e85..133858c 100644 --- a/ShiftOS.WinForms/Applications/Terminal.cs +++ b/ShiftOS.WinForms/Applications/Terminal.cs @@ -253,10 +253,11 @@ namespace ShiftOS.WinForms.Applications if (IsInRemoteSystem == true) { - ServerManager.SendMessage("trm_invcmd", $@"{{ - guid = ""{RemoteGuid}"", - command: ""{text4}"" -}}"); + ServerManager.SendMessage("trm_invcmd", JsonConvert.SerializeObject(new + { + guid = RemoteGuid, + command = text4 + })); } else { |
