[Gambas-user] hProcess is NULL

Demosthenes Koptsis demosthenesk at ...626...
Sun Dec 26 18:46:19 CET 2010


Hello and merry Christmas,

i have these lines of code

-----------
  sCommand = "/opt/avast4workstation-1.3.0/bin/avast -r " &
txtVirusTempFolder.Text & "/avast-report.txt" & " -ac -t A " &
txtVirusTempFolder.Text

  PRINT sCommand

  hProcess1 = SHELL sCommand WAIT FOR INPUT OUTPUT AS "AntiVirRun"
-----------

After that line the hProcess1 is NULL and i get NULL object in

PUBLIC SUB AntiVirRun_Read()



-- 
Regards,
Demosthenes Koptsis.






More information about the User mailing list