Added comment to while loop
This commit is contained in:
parent
dfb888d3ef
commit
ae55708d00
@ -292,15 +292,18 @@ namespace sscs.common
|
|||||||
// Read the standard output of the spawned process.
|
// Read the standard output of the spawned process.
|
||||||
string myString = myStreamReader.ReadLine();
|
string myString = myStreamReader.ReadLine();
|
||||||
int numProcs = 0;
|
int numProcs = 0;
|
||||||
|
|
||||||
|
// determine if user has more than 1 process still running
|
||||||
while( myString != null)
|
while( myString != null)
|
||||||
{
|
{
|
||||||
if(numProcs > 1)
|
if(numProcs > 1)
|
||||||
|
{
|
||||||
break;
|
break;
|
||||||
numProcs++;
|
|
||||||
|
|
||||||
myString = myStreamReader.ReadLine();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
numProcs++;
|
||||||
|
myString = myStreamReader.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user