Hi to all
How i can use this command with shell?
If i send this command
or
How i format this command with shell?
Thi commad as example work
Thanks
How i can use this command with shell?
If i send this command
orecho 1 > /sys/class/gpio/gpio21/value
with a putty session while run my b4j program on raspberry p2 this work fine, but with shell by b4j code not work.echo 0 > /sys/class/gpio/gpio21/value
B4X:
Dim js As Shell
js.Initialize("", "echo", Array As String(">", "1", "/sys/class/gpio/gpio21/value"))
js.Run(-1)
B4X:
Dim js As Shell
js.Initialize("", "echo 1 >", Array As String("/sys/class/gpio/gpio21/value"))
js.Run(-1)
How i format this command with shell?
Thi commad as example work
B4X:
Dim js As Shell
js.Initialize("", "aplay", Array As String(File.DirApp & "/Audio/" & clip))
js.Run(-1)
Thanks