Host tools in snap shell

Gustavo Niemeyer gustavo.niemeyer at canonical.com
Tue Oct 25 18:42:50 UTC 2016


On Tue, Oct 25, 2016 at 2:37 PM, Sergio Schvezov <
sergio.schvezov at canonical.com> wrote:

> This is how I do it on the fly (there was a session at the sprint for this
> to be easier)...
>
> ```
> snapcraft prime
> snap try prime --devmode
> cp /usr/bin/strace prime
> snap shell <snap.app> --shell
>

This is

$ snap run --shell <snap.app>

(shell => run, and order of --shell also matters)

(sudo) ./strace ...
> ```


gustavo @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161025/a5e00fe1/attachment.html>


More information about the Snapcraft mailing list