Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I run some chrome app such as...

google-chrome -app=chrome-extension://kjebfhglflhjjjiceimfkgicifkhjlnm/index.html always starts two windows, one in app mode, and another in the usual window.

I'd like the application to only start in app mode. What is the (or is there a) command line option to accomplish this?

share|improve this question
What about running google chrome extensions through chrome interface? – Ishikawa Yoshi Aug 29 '12 at 15:10
@IshikawaYoshi thanks,but in some circumstance,I prefer command line – 张 源 Aug 30 '12 at 2:01
up vote 2 down vote accepted

There is an -app-id argument for starting up with extensions.

google-chrome -app-id=kjebfhglflhjjjiceimfkgicifkhjlnm

Should do the trick.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .