I haven't checked it will help in your situation, but parted has a --script command line flag which is documented as "never prompts for user intervention" -- are you using that?
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1900344 Title: Error behavior in "print" command does not work well in a pipeline To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1900344/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs