...and without Shell.. ;-)
***
Private wv As WebView
Public Sub Form_Open()
With wv = New WebView(Me)
.X = 10
.Y = 10
.W = 430
.H = 100
End With
End
Public Sub Button1_Click()
wv.HTML = "http://music.myradio.ua/trance_news128.mp3\";>"
E
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 op
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 /sys/class/gp
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 /sys/class/gpio/gpio27
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
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 whic
From: Rob Kudla
> 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 online
>
> > this could solve
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 tabl
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 person
On Mon, 02 Dec 2013, PICCORO McKAY Lenz wrote:
> From: Rob Kudla
>
> > 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
>
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 fr
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
> (http://gambasdoc.org/help/comp/gb.qt4.we
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
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
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 t
17 matches
Mail list logo