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.
|
||||
string myString = myStreamReader.ReadLine();
|
||||
int numProcs = 0;
|
||||
|
||||
// determine if user has more than 1 process still running
|
||||
while( myString != null)
|
||||
{
|
||||
if(numProcs > 1)
|
||||
{
|
||||
break;
|
||||
numProcs++;
|
||||
|
||||
myString = myStreamReader.ReadLine();
|
||||
}
|
||||
|
||||
numProcs++;
|
||||
myString = myStreamReader.ReadLine();
|
||||
}
|
||||
|
||||
do
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user