• mvirts@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    11 months ago

    With the correct permission you should be able to write straight into pythons stdin from /proc like

    Cat whatever > /proc/$pythonpid/fd/0