Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
关闭从powershell终端打开的cmd终端?_Powershell_Selenium_Cmd_Codeceptjs - Fatal编程技术网

关闭从powershell终端打开的cmd终端?

关闭从powershell终端打开的cmd终端?,powershell,selenium,cmd,codeceptjs,Powershell,Selenium,Cmd,Codeceptjs,我目前正在使用CodeceptJs框架编写自动化测试,并使用selenium独立服务器运行这些测试。基本上,我有一个简单的测试文件夹。从批处理文件中,我运行“selenium standalone start”来启动selenium,然后运行codeceptjs来运行测试。此操作成功通过,但运行selenium服务器的cmd终端保持打开状态,因此powershell终端保持打开状态。我尝试使用-exit和exit/b退出命令,还尝试终止cmd,但没有成功。有人知道脚本运行完成后如何关闭这些窗口吗

我目前正在使用CodeceptJs框架编写自动化测试,并使用selenium独立服务器运行这些测试。基本上,我有一个简单的测试文件夹。从批处理文件中,我运行“selenium standalone start”来启动selenium,然后运行codeceptjs来运行测试。此操作成功通过,但运行selenium服务器的cmd终端保持打开状态,因此powershell终端保持打开状态。我尝试使用-exit和exit/b退出命令,还尝试终止cmd,但没有成功。有人知道脚本运行完成后如何关闭这些窗口吗

“等待过程”未被识别为内部或外部命令、可操作程序或批处理文件。停止进程和启动进程也会发生这种情况