https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227342
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: dte...@FreeBSD.org
Reporter:
eu...@freebsd.org
CC: sta...@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=/dev/zero bs=10000 count=1 |
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "
freebsd-stabl...@freebsd.org"