Public bug reported: The script command fails to wait for the command that it is executing to finish. For example, the command
/usr/bin/script -c "sleep 1; echo foo" < /dev/null; echo bar produces the output Script started, file is typescript Script done, file is typescript bar foo and an empty "typescript" file, whereas the correct output should be Script started, file is typescript foo Script done, file is typescript bar and the "typescript" file should contain "foo". The attached patch fixes the problem. ** Affects: util-linux (Ubuntu) Importance: Undecided Status: New -- /usr/bin/script doesn't wait for command to finish before exiting https://bugs.launchpad.net/bugs/264967 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs