einfach_orangensaft@feddit.de to Programmer Humor · 1 year agoit writes to output to the terminal or it gets the SIGTERM againfeddit.deimagemessage-square17fedilinkarrow-up1177arrow-down125
arrow-up1152arrow-down1imageit writes to output to the terminal or it gets the SIGTERM againfeddit.deeinfach_orangensaft@feddit.de to Programmer Humor · 1 year agomessage-square17fedilink
minus-squaremvirts@lemmy.worldlinkfedilinkarrow-up3·edit-21 year agoWith the correct permission you should be able to write straight into pythons stdin from /proc like Cat whatever > /proc/$pythonpid/fd/0
With the correct permission you should be able to write straight into pythons stdin from /proc like
Cat whatever > /proc/$pythonpid/fd/0