Timeline for How to call Bash Script function from Python Script
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 12, 2021 at 14:40 | history | edited | Muhammad Huzaifa | CC BY-SA 4.0 |
added 2 characters in body
|
| Mar 12, 2021 at 14:37 | comment | added | Muhammad Huzaifa | I have updated the answer with the solution | |
| Mar 12, 2021 at 14:36 | history | edited | Muhammad Huzaifa | CC BY-SA 4.0 |
added 196 characters in body
|
| Mar 12, 2021 at 14:31 | comment | added | Mehul Anshumali | Hey, i have one doubt lets say i have to repeat this process again and again. so i will the for loop like for i in function_call_list: (function call list is a list of parameters say ['Hello', 'How', 'What']. So when i write the subprocess.Popen(['bash', '-c', '. bash_script.sh; function_argument2 i ']) i value it is not taking. what should i do | |
| Mar 12, 2021 at 12:54 | vote | accept | Mehul Anshumali | ||
| Mar 12, 2021 at 12:54 | comment | added | Mehul Anshumali | Thank you so much working ... I had spent 1 week to figure out this thing. Thank You so much π | |
| Mar 12, 2021 at 12:48 | history | answered | Muhammad Huzaifa | CC BY-SA 4.0 |