vb.net中的process.start [英] process.start in vb.net
本文介绍了vb.net中的process.start的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
process.start()(visual basic)是否启动进程并等待进程终止或启动进程并开始执行其下的指令而不等待被调用进程终止?
Does process.start() (visual basic) start a process and wait for the process to terminate or starts the process and begin executing instructions under it without waiting for the called process to terminate?
推荐答案
启动流程并逃跑。
如果你想等,请使用:
Starts the process and runs away.
If you want to wait, then use:
Dim p As New Process()
p.StartInfo.FileName = "D:\xyz.exe"
p.StartInfo.Arguments = "hello there"
p.Start()
p.WaitForExit()
这篇关于vb.net中的process.start的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文