从批处理文件在新窗口中启动过程 [英] Start a process in a new window from a batch file

查看:33
本文介绍了从批处理文件在新窗口中启动过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Windows中编写了一个批处理文件(.bat).我想在新窗口中执行特定的过程.我该怎么做?

I have written a batch file (.bat) in windows. I want to execute a particular process in a new window. How do I do this?

示例

a.py -s 3 -l 5
b.py -k 0  -> I want to start this in a new window and let the original batch file continue 
C:\program.exe
...
....

推荐答案

使用启动命令:

start foo.py

start "" "c:\path with spaces\foo.py"

这篇关于从批处理文件在新窗口中启动过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆