search for: cmd_out

Displaying 4 results from an estimated 4 matches for "cmd_out".

2011 Nov 05
1
Newbie Question/Feature Request
...to file, then calling 'deliver -d someone -f someone-else < /path/to/temp/email' All good, expected behavior. A perl snippet: local $/=undef; open FH, "< ./demo.mail"; my $stringified = <FH>; # this is roughly equivalent to how other LDA queues work. close FH; open (CMD_OUT, " /usr/lib/dovecot/deliver -f somedude\@someplace.com -d anotherdude\@destination.dom $stringified |"); my $test = <CMD_OUT>; print $test; The above code errors out because the expected behavior is $stringified is supposed to be a file name. It would be great if deliver could be...
2006 Feb 08
2
[ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
...Priority: 4 Submitted By: Daniel Berger (djberg96) Assigned to: Park Heesob (phasis68) Summary: Allow win32-open3 to take a block Initial Comment: I think we should allow win32-open3''s methods to take a block in the way that the Unix open3 module works, e.g. Open3.popen3(cmd){ |cmd_in, cmd_out, cmd_err| # ... } Each pipe should be closed via ensure as open3.rb does. This keeps the API compatible with the current Ruby API, and is probably a better way to use the module in general (since the pipes are guaranteed to be closed at the end of the block). Regards, Dan ------------------...
2010 Feb 18
5
[PATCH] virtio-spec: document block CMD and FLUSH
...hristoph, could you look over this please? I note that the interface seems full of warts to me, this might be a first step to cleaning them. One issue I struggled with especially is how type field mixes bits and non-bit values. I ended up simply defining all legal values, so that we have CMD = 2, CMD_OUT = 3 and so on. I also avoided instroducing inhdr/outhdr structures that virtio blk driver in linux uses, I was concerned that nesting tables will confuse the reader. Comments welcome. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> -- diff --git a/virtio-spec.lyx b/virtio-spec.lyx...
2010 Feb 18
5
[PATCH] virtio-spec: document block CMD and FLUSH
...hristoph, could you look over this please? I note that the interface seems full of warts to me, this might be a first step to cleaning them. One issue I struggled with especially is how type field mixes bits and non-bit values. I ended up simply defining all legal values, so that we have CMD = 2, CMD_OUT = 3 and so on. I also avoided instroducing inhdr/outhdr structures that virtio blk driver in linux uses, I was concerned that nesting tables will confuse the reader. Comments welcome. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> -- diff --git a/virtio-spec.lyx b/virtio-spec.lyx...