• mvirts@lemmy.world
    cake
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    7 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