<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 22/06/2016 23:37, Alex Spataru a
écrit :<br>
</div>
<blockquote cite="mid:BLU182-W29908E327307AC8C3B48E1E32C0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hello,
Setting the confinement of the package to "devmode" fixed all
issues with SDL (Joystick & audio work now). However, the
application is still not able to launch the processes used to
get CPU & Battery information.
As far as I know, I can obtain CPU information by reading
/proc/stat, however, I am not sure if the security model would
allow my application to do that. I guess that reading battery
state will be similar to obtaining CPU information, in the sense
that I should read some file in the system (in the case that
snap allows me to).
Thanks for your time,
Alex Spataru </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
As Zygmunt told you on the other thread, please file a bug and tag
it with „snaps-interfaces” on <a class="moz-txt-link-freetext"
href="http://bugs.launchpad.net/snappy">http://bugs.launchpad.net/snappy</a>
listing the files you need to access in /proc.<br>
<br>
Cheers,<br>
Didier
</body>
</html>