Skip to content

Terminal not restored properly when parallel processing #108

@forthrin

Description

@forthrin
$ printf "MUSICIANS/G/Galway_Martin/Arkanoid.sid\nMUSICIANS/D/Daglish_Ben/Kettle.sid\n" | xargs -n1 -P2 sidplayfp -os -t1 -w
$ $ $ $ $ stty # TERMINAL NOT RESTORED. PRESSING ENTER MAKES NO NEWLINE
lflags: -icanon -iexten -echo echoe echoke echoctl pendin
$ stty sane
lflags: echoe echoke echoctl pendin
$

https://github.com/libsidplayfp/sidplayfp/blob/master/src/keyboard.cpp#L287

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions