Hi, my snap application, JModules, uses intensively some binaries, jdeps (located in the JDK) and mvn. So I call these executables to download the jars (mvn) and retrieve some information from .jar files.
Do I need the process-control interface activation for my snap in order to be able to execute these applications? If yes, can someone please enable it or suggest an alternative? I need just to run these 2 processes (jdeps and maven).
Thanks in advance.
This request has been added to the queue for review by the @reviewers team.
Hey @AndreiDodu , I don’t think the process-control
interface will help you here. It is only for managing existing processes, not executing new ones. The process-control interface
For your case, I would suggest bundling these binaries within your snap to be able to execute. or you can try content
interface if those executables are also installed through snap
@reviewers, any other thoughts?
I think @0xnishit is right and you need to add the executables to your snap, possibly via stage-packages
or stage-snaps
(See https://documentation.ubuntu.com/snapcraft/stable/how-to/crafting/manage-dependencies/)
thank you for your responses