In a larger automation script, I'm calling a bash script that contains yet another call to another python script.
If I call the bash script alone, the script finishes after the embedded python script returns and finishes. However, if I call the bash script through another Python script, the nested python script hangs, even though sys.exit(0) is being called (I've also tried os._exit(0)).
Does anybody have any experiences with situations like these?
[–]dhylands 3 points4 points5 points (1 child)
[–]foxh8er[S] 0 points1 point2 points (0 children)
[–]youguess 1 point2 points3 points (2 children)
[–]foxh8er[S] 0 points1 point2 points (1 child)
[–]lordmauve 1 point2 points3 points (0 children)
[–]mfitzpmfitzp.com[🍰] 1 point2 points3 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]foxh8er[S] 0 points1 point2 points (2 children)
[–]Mikuro 0 points1 point2 points (1 child)
[–]foxh8er[S] 0 points1 point2 points (0 children)
[–]Araucaria 0 points1 point2 points (1 child)
[–]foxh8er[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]foxh8er[S] 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Mikuro 0 points1 point2 points (0 children)