-aggiunto controllo su processo vuoto
This commit is contained in:
+5
-1
@@ -309,7 +309,11 @@ Public Class Camera
|
||||
Dim nInd As Integer = GetCurrentTable()
|
||||
' Invio richiesta al processo per vedere se la comunicazione è aperta
|
||||
Try
|
||||
m_ProcessCmgList(nInd - 1).StandardInput.WriteLine(sArgs)
|
||||
If Not m_ProcessCmgList(nInd - 1).HasExited Then
|
||||
m_ProcessCmgList(nInd - 1).StandardInput.WriteLine(sArgs)
|
||||
Else
|
||||
Return -1
|
||||
End If
|
||||
Catch ex As Exception
|
||||
EgtOutLog(ex.Message())
|
||||
End Try
|
||||
|
||||
Reference in New Issue
Block a user