从命令行启动google应用时,不想打开google chrome浏览器 [英] When launching google apps from command line , don't want to open google chrome browser

查看:364
本文介绍了从命令行启动google应用时,不想打开google chrome浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,当我从命令行启动google应用程序(由我自己开发)时,

When I launch google apps[which is developed by myself] from command line, for example:

chrome.exe --load-and-launch-app="C:\Users\KyawKhaing\Desktop\chrome\Chrome App\Example2"

运行此命令后,我首先看到Google Chrome浏览器打开,然后启动我的google chrome应用程序.启动Chrome应用程序时,我不想打开Goog​​le Chrome浏览器.任何人都知道解决方案.有可能吗?

After I run this, I see Google Chrome Browser open first follow by my google chrome apps launch. I don't want to open google chrome browser when I launch a chrome app. Any one know the solution. Is it possible?

推荐答案

使用--silent-launch参数.

chrome.exe --silent-launch --load-and-launch-app="C:\Users\KyawKhaing\Desktop\chrome\Chrome App\Example2"

这篇关于从命令行启动google应用时,不想打开google chrome浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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