alfred-workflow-py3
alfred-workflow-py3 copied to clipboard
Background Running (tracking)
Have ya'll tried to get the background functionality working? I'm struggling through it - when I make progress I'll submit a PR...
Old workflows is a progress bar that runs in the bg - in python2 it works in python3 - it pretty much runs - checks the bg process once and exits... still trying to work through the why.
I've already made a few patches to at least make it run - all related to pickle -> cpickle but I think I have much more to discover
Just opened an issue to track the progress / discuss on this
I feel like this might in python3 be operating differently - but I'm not 100% sure:
Something does not seem to be detecting the background process is running - whether its related to pickle -> cPickle or maybe the kill 0 works differently in py3 :)
(Debugging this stuff is awkward at the very least)
Additionally when the bg process gets spawned right now its going to /dev/null so I've outputted these to files that I can read with:
tail -f /tmp/err.txt /tmp/out.txt
Which is useful as it discovers a few issue :)
Pull request #5 submitted...