tig/mcecontroller — Issue #1: StartProcess/nextCommand has hard-coded pause
Author: tig
Created: 2012-02-12 01:32:42+00:00
State: open

Ideally the pause time (10000) should be able to be specified as part of the nextCommand.

ProcessCommands.cs
public override void Execute()
{
MainWindow.AddLogEntry("Starting process: " + File );
Process p = new Process();
p.StartInfo.FileName = File;
p.Start();
if (nextCommand != null)
p.WaitForInputIdle(10000);

if (nextCommand != null)
nextCommand.Execute();
}