[Mono-devel-list] System.Diagnostic.Process and /dev/tty

Gonzalo Paniagua Javier gonzalo at ximian.com
Sun Jun 12 12:53:44 EDT 2005


On Sat, 2005-06-11 at 17:06 -0500, Robert J. Hansen wrote:
> I'm attempting to write a simple interface between C# and the GNU
> Privacy Guard, but I'm running into a problem.  Namely, whenever I set
> processObject.RedirectStandardInput to true, GnuPG will die screaming
> because it can't access /dev/tty.
> 
> Obviously, the best bet would be to tell GnuPG that it's being
> redirected and thus not to have a conniption.  I asked about this on
> GnuPG-devel some time ago and received no answer.  I'm hoping that
> there'll be a workaround somewhere in C# which will allow me to fool
> GnuPG into thinking it's got a tty.

You probably received no answer because the options are right there in
the gpg manual page, next to each other.

-Gonzalo





More information about the Mono-devel-list mailing list