[Spice-devel] [PATCH] Attempt to manage redirection in a way similar to Unix
Christophe Fergeau
cfergeau at redhat.com
Thu Mar 3 09:01:33 UTC 2016
On Wed, Mar 02, 2016 at 01:18:41PM -0500, Frediano Ziglio wrote:
> >
> > This patch allows remote-viewer to redirect output/error streams to
> > files.
> > Also if launched from a console program (for instance from the command
> > prompt) you are able to see output from the console where you launch
> > the program.
> > This allow to launch the program with a syntax like
> > > remote-viewer.exe --debug > log.txt 2>&1
> > or simply
> > > remote-viewer.exe --debug
> >
> > Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
>
> Why not adding also a --log-file=<filename> option?
> I think this is much easier for customers than opening a console
> window and type the command with redirection.
Agreed, or an environment variable (but command line option sounds more
discoverable).
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160303/9c9430b8/attachment.sig>
More information about the Spice-devel
mailing list