Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    /dev/fd is either a Linuxism or a bashism (bash emulates it on non-Linux operating systems, but not all shells do), so you're already nonportable. Use <&4, not </dev/fd/4. Commented Sep 30, 2016 at 14:46
  • Please extend your code to be a MCVE -- creating output_file and notify-finished, so it will run in a way that successfully demonstrates your bug without the person who wants to see your problem needing to do anything else. Commented Sep 30, 2016 at 14:48
  • @CharlesDuffy It turned out it was the </dev/fd/4 notation that was causing the trouble. If you second that comment as an answer, I'll accept it. Thank you. Commented Sep 30, 2016 at 14:55