Re: Issue in parsing the string output from the command using "subprocess"

2018-11-18 Thread srinivasan
Thanks a lot for your quick responses I tried to fix the issue as below, I verified in my desktop ubuntu environment, but tomorrow once I can verify on my embedded target, please let me know if you foresee any issues with the below fix? def wifi_disconnect(self, timeout=10): """ Conne

Re: Issue in parsing the string output from the command using "subprocess"

2018-11-18 Thread MRAB
On 2018-11-18 14:59, srinivasan wrote: Dear Python Experts Team, As am newbie to python and learning python, working on embedded linux platform, my intention is to delete all the SSID's before connecting my Wi-Fi module to specific SSID., I am trying to parse command output using the "subprocess

Issue in parsing the string output from the command using "subprocess"

2018-11-18 Thread srinivasan
Dear Python Experts Team, As am newbie to python and learning python, working on embedded linux platform, my intention is to delete all the SSID's before connecting my Wi-Fi module to specific SSID., I am trying to parse command output using the "subprocess" with wrapper "execute_cmd_output_strin