我需要一个GitLab运行程序来打开一个程序,在我的例子中,Unity3D并开始运行一个场景。为此,我选择了一个shell运行程序来运行一个批处理脚本。成功执行以下代码,但窗口既不打开,运行程序也不失败。
echo "Checkout branches"
git submodule update --init --remote
cd .\simulation\
git status
cd ..
cd .\agent\
git status
cd ..
echo "Open Unity3d"
"C:\Program Files\Unity\Editor\Unity.exe" -openProject ".\simulation\Assets\Scenes\TestScene.unity"我是选择了错误的类型,还是不可能在Windows上使用GitLab运行程序启动GUI应用程序?
向你问好,塔卡
意图是人工智能代理与Unity3d模拟环境进行交互。
发布于 2022-10-21 01:36:10
有点晚了。您不应该在windows服务中自动启动GitLab运行程序。在Powershell中,您必须手动使用start gitlab-runner.exe启动start gitlab-runner.exe运行程序,然后使用run gitlab-runner.exe
https://stackoverflow.com/questions/72243184
复制相似问题