Date: Sat, 07 Apr 2018 12:40:05 +0000 From: bugzilla-noreply@freebsd.org To: stable@FreeBSD.org Subject: [Bug 227342] [dpv] dpv -x is broken Message-ID: <bug-227342-1689@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227342 Bug ID: 227342 Summary: [dpv] dpv -x is broken Product: Base System Version: 11.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: dteske@FreeBSD.org Reporter: eugen@freebsd.org CC: stable@FreeBSD.org An example from dpv(1) manual page does not work: tar cf - . | dpv -x "gzip -9 > out.tgz" \ $( du -s . | awk '{print $1 * 1024}' ):label In fact, even simplier command cannot work: dd if=3D/dev/zero bs=3D10000 co= unt=3D1 | dpv -x "cat >/dev/null" 10000:label It just draws initial dialog then sits doing nothing. The reason is that dpv(3) library uses posix_spawn_file_actions_adddup2() function that effectively clobbers standard input file handle with a call to dup2(terminal, 0) and ktrace(1) assures that. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227342-1689>