[Python] bytes-like object is required not 'CompletedProcess' | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

[Python] bytes-like object is required not 'CompletedProcess'

I got this Error from a python code I was using the subprocess module here's the error TypeError: bytes-like object is required not 'CompletedProcess' why this error message appears ? Note: I can't show the original code for security and privacy reasons

15th Dec 2017, 10:51 PM
warlord
warlord - avatar
2 Answers
+ 10
@Gordie thanks have a nice day sir :)
17th Dec 2017, 8:59 PM
warlord
warlord - avatar
+ 9
@Gordie this is not the error I tried to search but all I found is about then one that you gave a link for it but mine isn't like that I will try to make it a little more clear I'm trying to send shell commands between sockets to create a control panel
17th Dec 2017, 8:54 PM
warlord
warlord - avatar