How to use "snap run" command?

XiaoGuo Liu xiaoguo.liu at canonical.com
Thu Jul 21 05:03:43 UTC 2016


Hi,

I just installed the hello-world app from the snap store. I found that snap
has a command "run".

liuxg at liuxg:~$ snap run -h
Usage:
  snap [OPTIONS] run [run-OPTIONS] <app name>

Run the given snap command with the right confinement and environment

Application Options:
      --version         print the version and exit

Help Options:
  -h, --help            Show this help message

[run command arguments]
  <app name>:           the snap (e.g. hello-world) or application to run
(e.g. hello-world.env)

When I run it like:

"snap run hello-world", but it does not run at all. What is the correct way
to use the command?

Thanks & best regards,
XiaoGuo

-- 
XiaoGuo, Liu (刘晓国)
Mobile: +86-13911181302
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160721/3b877111/attachment.html>


More information about the Snapcraft mailing list