public Init ( string processname, string processargs ) : void | ||
processname | string | |
processargs | string | |
return | void |
static void Main(string[] args) { System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(Console.Out)); System.Diagnostics.Trace.AutoFlush = true; Transport transport = new Transport(); transport.Init("/usr/bin/python", "/home/pi/YodiwoDev/imageclient.py"); RaspberryNode raspberrynode = new RaspberryNode(transport); raspberrynode.Start(); while (true) { Task.Delay(500).Wait(); } }
static void Main(string[] args) { System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(Console.Out)); System.Diagnostics.Trace.AutoFlush = true; Transport transport = new Transport(); transport.Init("/usr/bin/python", "/home/pi/YodiwoDev/imageclient.py"); RaspberryNode raspberrynode = new RaspberryNode(transport); raspberrynode.Start(); while (true) { Task.Delay(500).Wait(); } }