Commit 86dac6d
committed
Add a subprocess.Popen timeout when possible
The linux timeout command seems to fail terminating processes
occasionally, so when possible without breaking the interface I've added
a subprocess.Popen timeout (to be double the linux timeout) as a backup
timeout.
This is a bit hackish but has been useful for me.1 parent 47903f6 commit 86dac6d
1 file changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
859 | | - | |
| 859 | + | |
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
880 | | - | |
881 | | - | |
882 | | - | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
883 | 896 | | |
884 | 897 | | |
885 | 898 | | |
| |||
0 commit comments