[web2py] Re: How to embed Linux script into a web2py controllers

2013-05-20 Thread si...@ymail.com
> output.txt') > output = open('output.txt').read() > > assuming the user running the web app has sudo access to iwlist. Look into > sudoers to add the permission. > > On Friday, 10 May 2013 16:35:12 UTC-5, si...@ymail.com wrote: >> >> Hello, >> >

[web2py] How to embed Linux script into a web2py controllers

2013-05-11 Thread si...@ymail.com
Hello, Please i need some help and guaidiance. I have a web2py application running on a raspebery pi. The raspberry pi runs "Linux 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux" I am trying to run this Linux command from a web2py controller. "sudo iwlist wlan0 |"ESSID