Get return value from process

后端 未结 2 1099
感动是毒
感动是毒 2020-11-28 07:36

Hi I am trying to do the following: I have a process which can take parameters (digits) and return the sum of these numbers

Process P = Process.Start(sPhysic         


        
2条回答
  •  旧巷少年郎
    2020-11-28 08:01

    You can try the below code:

        Dim P As New Process
        P = Process.Start(info)
        P.WaitForExit()
        fichiersATraiter = P.ExitCode
    

    Hope this helps :)

提交回复
热议问题