diff --git a/franz.tests/Program.cs b/franz.tests/Program.cs index 8cc91e5..7b1385d 100644 --- a/franz.tests/Program.cs +++ b/franz.tests/Program.cs @@ -27,7 +27,7 @@ namespace franz.tests System.Threading.Thread.Sleep(15000); Telefranz.Instance.ProduceMessage(new gray_messages.directorial.execute_command(){ command= "a!", - args= new List(){"param 1", "param 2"} + args= "parameters to pass along" }); System.Threading.Thread.Sleep(5000); Console.WriteLine("k."); diff --git a/franz/gray_messages/directorial/execute_command.cs b/franz/gray_messages/directorial/execute_command.cs index dc22133..46613f5 100644 --- a/franz/gray_messages/directorial/execute_command.cs +++ b/franz/gray_messages/directorial/execute_command.cs @@ -15,7 +15,7 @@ namespace gray_messages.directorial public class execute_command : gray_messages.message { public string command { get; set; } - public List args { get; set; } = new List(); + public string args { get; set; } public TimeSpan? timeout { get; set; } } }