|
|
@ -38,7 +38,6 @@ namespace NzbDrone.Integration.Test
|
|
|
|
|
|
|
|
|
|
|
|
while (true)
|
|
|
|
while (true)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
_nzbDroneProcess.Refresh();
|
|
|
|
_nzbDroneProcess.Refresh();
|
|
|
|
|
|
|
|
|
|
|
|
if (_nzbDroneProcess.HasExited)
|
|
|
|
if (_nzbDroneProcess.HasExited)
|
|
|
@ -70,6 +69,8 @@ namespace NzbDrone.Integration.Test
|
|
|
|
|
|
|
|
|
|
|
|
private void OnOutputDataReceived(string data)
|
|
|
|
private void OnOutputDataReceived(string data)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
Console.WriteLine(data);
|
|
|
|
|
|
|
|
|
|
|
|
if (data.Contains("Press enter to exit"))
|
|
|
|
if (data.Contains("Press enter to exit"))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_nzbDroneProcess.StandardInput.WriteLine(" ");
|
|
|
|
_nzbDroneProcess.StandardInput.WriteLine(" ");
|
|
|
|