screenutils icon indicating copy to clipboard operation
screenutils copied to clipboard

Changed how commands are run to support Python 3, increase stability.

Open kingllama opened this issue 8 years ago • 6 comments

Changed commands and os.system in favour of the subprocess module. Old versions are still supported, so this shouldn't break any code. commands is completely gone in python 3 and os.system has long since been replaced by subprocess.

This adds a lot of stability as the process doesn't need to open a new shell to do anything, one of the major road blocks in getting tests in.

I've tested this in 3.4 and 2.7, but not in older versions (it should work fine as there are fallbacks for everything.)

kingllama avatar Feb 26 '17 19:02 kingllama

it looks good to me, I'll pep8 some commas, try it and merge, I hope by next week.

Christophe31 avatar Feb 27 '17 07:02 Christophe31

damned, I forgot you… sorry, I still have this tab open, I didn't forgot totally… =_=

Christophe31 avatar Mar 21 '17 07:03 Christophe31

bump?

cmarzullo avatar Oct 04 '17 21:10 cmarzullo

It would be nice to get the updated version into pypi.

Gerardwx avatar Dec 14 '23 18:12 Gerardwx

I was sure this project was dead and every body was using tmux nowadays ^^…

I'm sorry but I think you should pip install the fork, as I didn't test anything and don't see a world where I would be using this project again, I feel more honest by not updating it… If someone have an active fork, I may link it in the README…

Christophe31 avatar Dec 14 '23 19:12 Christophe31

That works, but it would be nice just to be able to pip install it. Would you be willing to and @kingllama and/or myself to the pypi screenutils package so one of use could update it. (I'm Gerardw on pypi)

Gerardwx avatar Dec 14 '23 21:12 Gerardwx