|
@@ -24,7 +24,7 @@ namespace LJLib.Cmd
|
|
|
|
|
|
string rslt = string.Empty;
|
|
string rslt = string.Empty;
|
|
line = p.StandardOutput.ReadLine();
|
|
line = p.StandardOutput.ReadLine();
|
|
- while (line != "exit")
|
|
|
|
|
|
+ while (!string.IsNullOrEmpty(line) && line != "exit")
|
|
{
|
|
{
|
|
if (string.IsNullOrEmpty(rslt))
|
|
if (string.IsNullOrEmpty(rslt))
|
|
{
|
|
{
|