-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Labels
investigation requiredNeeds further investigationNeeds further investigation
Description
Scripts that use yes (either busybox version or coreutils version) behave unexpectedly when running in terminal emulators (e.g., havoc) running inside labwc. Some scripts litter the screen with "Broken pipe" errors or, worse, enter an infinite loop. Here is one way to trigger an infinite loop:
echo "this is a test" >test.txt
busybox yes "password" | bcrypt test.txt
I think this is because labwc disabled SIGPIPE in version 0.6.3 and the terminal emulators are inheriting the disabled signal.
Is there a way for me to restore the normal SIGPIPE behavior in my shell? Not in the whole GUI environment--just shell scripts (including those running in a terminal emulator). I use busybox ash. Any help would be greatly appreciated.
Metadata
Metadata
Assignees
Labels
investigation requiredNeeds further investigationNeeds further investigation