Hey boys, I am trying to emulate the terminal string sudo sh -c
'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on
BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell,
sudo sh -c 'echo out /sys/class/gpio/gpio27/direction']
and get an error /bin/sh: 0: Can't
Hey boys, I am trying to emulate the terminal string sudo sh -c
'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on
BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell,
sudo sh -c 'echo out /sys/class/gpio/gpio27/direction']
and get an error /bin/sh: 0: Can't
2013-12-02 12:17 keltezéssel, Mike Crean írta:
Hey boys, I am trying to emulate the terminal string sudo sh -c
'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on
BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell,
sudo sh -c 'echo out
On Mon, 02 Dec 2013, Mike Crean wrote:
Hey boys, I am trying to emulate the terminal string sudo sh -c
'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on
BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell,
sudo sh -c 'echo out
Given string to exec is invalid.
http://gambasdoc.org/help/lang/exec?v3
shell sudo sh -c 'echo out /sys/class/gpio/gpio27/direction'
Why this would do anything?
sudo is without any input, unnecessary sh -c and then command which
output should be out /sys/class/gpio/gpio27/direction. If you want
G'day Matti:
I don't have a success story to report yet, but I have not been idle
and thought I should report.
I spent quite some time looking at that 'versions' tab. Couldn't
actually do anything with it until later today when I realised that
only some packages had alternate versions from
From: Rob Kudla sourceforge-raind...@kudla.org
Should be... I did apt-get source gambas3 and the source for the program is
here inside the tarball:
gambas3-3.1.1/app/src/doc.cgi/
yes, but the idea its to generate when user/admin goes to install, and the
ide use it that in preference to
Benoit,
Thank you for your explanation. I now understand why the tristate and
click properties are not supported by the DataCheckBox control. You
might want to revise the docs and auto-complete on this control to
remove remove references to these properties.
I've changed the fields in the
Maybe I'm not understanding the problem, but sudo always wants a password,
right? In which case you have to feed it a password with the Exec or Shell
command. I'm not a shell script expert (just learning), but I assume that
the string would look like this:
Exec [system.shell, sudo sh -c 'echo
You could allow a certain user to execute a command via the sudo system.
I've got this here, one of the teachers is able to switch the internet
on and off for students by applying a script. Normally, only the admin
is allowed to change the filter chain... A Gambas front-end picks out
the
On Mon, 02 Dec 2013, PICCORO McKAY Lenz wrote:
From: Rob Kudla sourceforge-raind...@kudla.org
Should be... I did apt-get source gambas3 and the source for the program is
here inside the tarball:
gambas3-3.1.1/app/src/doc.cgi/
yes, but the idea its to generate when user/admin goes to
On Mon, 2013-12-02 at 18:16 +0100, Tobias Boege wrote:
In a next step, we would write a parser to let the IDE display this
help and
Its already there. Local modules inline help is shown even if there is
no internet connection. Another idea would be to somehow generate all
the structural help
On 29/11/13 09:39, michael wrote:
I have written a small project which is intended to test editing an html page
(I would like to create a wysiwyg markdown editor). I have attached a copy. I
am having trouble with editing the html programattically
El 01/12/13 16:54, Jesus escribió:
Hi all
I'm trying to get up and running a project which have a Toolbar and some
toolbuttons in it. I'd like to mimic the same behavior toolbars have in
Gambas' IDE. I've read the docs about Toolbar (gb.form.mdi) but calling
the configure method throws an
Le 03/12/2013 00:41, Jesus a écrit :
El 01/12/13 16:54, Jesus escribió:
Hi all
I'm trying to get up and running a project which have a Toolbar and some
toolbuttons in it. I'd like to mimic the same behavior toolbars have in
Gambas' IDE. I've read the docs about Toolbar (gb.form.mdi) but
Hi
Try
Shell echo 'mypassword' |sudo -S sh -c 'echo out
/sys/class/gpio/gpio27/direction
Regards
-Ursprüngliche Nachricht-
Von: Mike Crean [mailto:mike.cr...@y7mail.com]
Gesendet: Montag, 2. Dezember 2013 12:18
An: Mike
Betreff: [Gambas-user] shell
Hey boys, I am trying to emulate
16 matches
Mail list logo