AlexK
🌕🕦
7 yr
via
Apero
I am trying to refactor my code so I can split out my subprocess call and reuse the subprocess in different functions. This does not seem to work right though. Any pointers?
#python
54067
AlexK
🌕🕦
7 yr
via
Apero
@AlexK
https://gist.github.com/AlexKucera/53f905f1b103add897d0879df1d77f5c
this fails
https://gist.github.com/AlexKucera/66c0ad40f78c71801ba9a1fd77a068ab
this works
54068
saket
🌕🕐
7 yr
via
Riposte
@AlexK
I wanted to make a lame joke about using 'pointers' to solve your issue but sort of abstained! 😜
54101
AlexK
🌕🕐
7 yr
via
Apero
@saket
thanks. :) I solved it in the meantime. Not sure why, but no matter. it works now. :)
54103
saket
🌕🕐
7 yr
via
Riposte
@AlexK
That sums up about 60% of dev life. 😉
54113
AlexK
🌕🕜
7 yr
via
Apero
@saket
very true
54115