Dim Proc As New Process
Proc.File = "pytest.py"
Proc.Start()
System.Threading.Thread.Sleep(1000)
SetParent(Proc.MainWindowHandle, e.Form.BaseForm.Handle.ToInt32())
正常调用和执行了,但执行完pytest.py就自动退出了,我想让它执行完就暂停,按任意键退出,是要在pytest.py里面写代码吗?