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

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

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