public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: Sudarshan S Chawathe <chaw@eip10.org>
Cc: "kawa@sourceware.org" <kawa@sourceware.org>
Subject: Re: Example of run-process with redirection to pipe?
Date: Wed, 18 Sep 2019 18:49:00 -0000	[thread overview]
Message-ID: <d49bcac7-289f-277d-5c2e-49528b1f7eb5@bothner.com> (raw)
In-Reply-To: <20912.1566758722@localhost>

I checked in a fix for this - the original test program now works.
This was somewhat tricky because the actual runtime-class UNIXProcess is non-public,
so reflection has to use the method from the parent class Process.  Which lead to to messy
complication relating to "syntheic bridge" methods.  Hope I got it right ...

A further improvement would be to do the method lookup at compile-time.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

      parent reply	other threads:[~2019-08-30  0:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-23 17:53 Sudarshan S Chawathe
2019-08-24 11:01 ` spellcard199
2019-08-25 18:46   ` Sudarshan S Chawathe
2019-08-30  0:04     ` Sudarshan S Chawathe
2019-09-18 18:49     ` Per Bothner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d49bcac7-289f-277d-5c2e-49528b1f7eb5@bothner.com \
    --to=per@bothner.com \
    --cc=chaw@eip10.org \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).