From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14973 invoked by alias); 25 Aug 2019 18:46:21 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 14775 invoked by uid 89); 25 Aug 2019 18:45:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,PDS_TONAME_EQ_TOLOCAL_HDRS_LCASE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=D*protonmail.com, H*r:4.89, HX-Spam-Relays-External:ESMTPA X-HELO: bongo.elm.relay.mailchannels.net Received: from bongo.elm.relay.mailchannels.net (HELO bongo.elm.relay.mailchannels.net) (23.83.212.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 25 Aug 2019 18:45:43 +0000 X-Sender-Id: dreamhost|x-authsender|chaw@eip10.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9AB751A246D; Sun, 25 Aug 2019 18:45:27 +0000 (UTC) Received: from pdx1-sub0-mail-a83.g.dreamhost.com (100-96-10-116.trex.outbound.svc.cluster.local [100.96.10.116]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id CE7051A21F3; Sun, 25 Aug 2019 18:45:26 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|chaw@eip10.org Received: from pdx1-sub0-mail-a83.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Sun, 25 Aug 2019 18:45:27 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|chaw@eip10.org X-MailChannels-Auth-Id: dreamhost X-Slimy-Gusty: 29c6dba72500127b_1566758727246_460953922 X-MC-Loop-Signature: 1566758727246:2808592820 X-MC-Ingress-Time: 1566758727245 Received: from pdx1-sub0-mail-a83.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a83.g.dreamhost.com (Postfix) with ESMTP id 30FBA7F77A; Sun, 25 Aug 2019 11:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eip10.org; h=to:cc:subject :from:reply-to:in-reply-to:mime-version:content-type:content-id :date:message-id; s=eip10.org; bh=gUE13cgJAHujCw/J2o2Ek1cbNJk=; b= PDlq6YjlBaQE8YiFRLA9a4PoP8o07esQ4N68d5pytS1ZmBvHClzboYP9LXvlO9eN 3I+RnGgi20EG6u10JqLe7qLAa7RKQin2ADG3yLWNDZk4BlmQGOMcUBuv7tMkkVHI Pul7kyHvJ0Z94Krv/RMig8cUCSalsGB2KmlogmPnCdU= Received: from vpaur.eip10.org (cpe-74-75-233-46.maine.res.rr.com [74.75.233.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: chaw@eip10.org) by pdx1-sub0-mail-a83.g.dreamhost.com (Postfix) with ESMTPSA id 2E2417F783; Sun, 25 Aug 2019 11:45:23 -0700 (PDT) Received: from chaw by vpaur.eip10.org with local (Exim 4.89) (envelope-from ) id 1i1xVy-0005RJ-Cq; Sun, 25 Aug 2019 14:45:22 -0400 To: spellcard199 cc: "kawa@sourceware.org" Subject: Re: Example of run-process with redirection to pipe? X-DH-BACKEND: pdx1-sub0-mail-a83 From: "Sudarshan S Chawathe" Reply-To: "Sudarshan S Chawathe" In-reply-to: Your message of "Sat, 24 Aug 2019 11:01:13 -0000." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20911.1566758722.1@localhost> Date: Sun, 25 Aug 2019 18:46:00 -0000 Message-ID: <20912.1566758722@localhost> X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrudehvddguddvlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepvffuhfhrjgfogggtfffksehttdertdertddvnecuhfhrohhmpedfufhuuggrrhhshhgrnhcuufcuvehhrgifrghthhgvfdcuoegthhgrfiesvghiphdutddrohhrgheqnecukfhppeejgedrjeehrddvfeefrdegieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepvhhprghurhdrvghiphdutddrohhrghdpihhnvghtpeejgedrjeehrddvfeefrdegiedprhgvthhurhhnqdhprghthhepfdfuuhgurghrshhhrghnucfuucevhhgrfigrthhhvgdfuceotghhrgifsegvihhpuddtrdhorhhgqedpmhgrihhlfhhrohhmpegthhgrfiesvghiphdutddrohhrghdpnhhrtghpthhtohepkhgrfigrsehsohhurhgtvgifrghrvgdrohhrghenucevlhhushhtvghrufhiiigvpedt X-IsSubscribed: yes X-SW-Source: 2019-q3/txt/msg00013.txt.bz2 Thank you very much for the hint; it indeed works when invoked as you write. Regards, -chaw > Date: Sat, 24 Aug 2019 11:01:13 +0000 > From: spellcard199 > Subject: Re: Example of run-process with redirection to pipe? > > Hello. I am also new to kawa, and I don't know why it behaves the way it do= > es (seems a java permissions thing to me), but you can get the InputStream = > using: > > (gnu.kawa.functions.RunProcess:getInputStreamFrom p) > > I found this using "grep -r Stream" inside the Kawa/kawa/lib directory in t= > he kawa source code, which I found to be a great learning resource. > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19081 invoked by alias); 25 Aug 2019 18:50:57 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 19073 invoked by uid 89); 25 Aug 2019 18:50:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,PDS_TONAME_EQ_TOLOCAL_HDRS_LCASE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=D*protonmail.com, H*r:4.89, HX-Spam-Relays-External:ESMTPA X-HELO: aye.elm.relay.mailchannels.net Received: from aye.elm.relay.mailchannels.net (HELO aye.elm.relay.mailchannels.net) (23.83.212.6) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 25 Aug 2019 18:50:55 +0000 X-Sender-Id: dreamhost|x-authsender|chaw@eip10.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9AB751A246D; Sun, 25 Aug 2019 18:45:27 +0000 (UTC) Received: from pdx1-sub0-mail-a83.g.dreamhost.com (100-96-10-116.trex.outbound.svc.cluster.local [100.96.10.116]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id CE7051A21F3; Sun, 25 Aug 2019 18:45:26 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|chaw@eip10.org Received: from pdx1-sub0-mail-a83.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Sun, 25 Aug 2019 18:45:27 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|chaw@eip10.org X-MailChannels-Auth-Id: dreamhost X-Slimy-Gusty: 29c6dba72500127b_1566758727246_460953922 X-MC-Loop-Signature: 1566758727246:2808592820 X-MC-Ingress-Time: 1566758727245 Received: from pdx1-sub0-mail-a83.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a83.g.dreamhost.com (Postfix) with ESMTP id 30FBA7F77A; Sun, 25 Aug 2019 11:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eip10.org; h=to:cc:subject :from:reply-to:in-reply-to:mime-version:content-type:content-id :date:message-id; s=eip10.org; bh=gUE13cgJAHujCw/J2o2Ek1cbNJk=; b= PDlq6YjlBaQE8YiFRLA9a4PoP8o07esQ4N68d5pytS1ZmBvHClzboYP9LXvlO9eN 3I+RnGgi20EG6u10JqLe7qLAa7RKQin2ADG3yLWNDZk4BlmQGOMcUBuv7tMkkVHI Pul7kyHvJ0Z94Krv/RMig8cUCSalsGB2KmlogmPnCdU= Received: from vpaur.eip10.org (cpe-74-75-233-46.maine.res.rr.com [74.75.233.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: chaw@eip10.org) by pdx1-sub0-mail-a83.g.dreamhost.com (Postfix) with ESMTPSA id 2E2417F783; Sun, 25 Aug 2019 11:45:23 -0700 (PDT) Received: from chaw by vpaur.eip10.org with local (Exim 4.89) (envelope-from ) id 1i1xVy-0005RJ-Cq; Sun, 25 Aug 2019 14:45:22 -0400 To: spellcard199 cc: "kawa@sourceware.org" Subject: Re: Example of run-process with redirection to pipe? X-DH-BACKEND: pdx1-sub0-mail-a83 From: "Sudarshan S Chawathe" Reply-To: "Sudarshan S Chawathe" In-reply-to: Your message of "Sat, 24 Aug 2019 11:01:13 -0000." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20911.1566758722.1@localhost> Date: Fri, 30 Aug 2019 00:04:00 -0000 Message-ID: <20912.1566758722@localhost> X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrudehvddguddvlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepvffuhfhrjgfogggtfffksehttdertdertddvnecuhfhrohhmpedfufhuuggrrhhshhgrnhcuufcuvehhrgifrghthhgvfdcuoegthhgrfiesvghiphdutddrohhrgheqnecukfhppeejgedrjeehrddvfeefrdegieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepvhhprghurhdrvghiphdutddrohhrghdpihhnvghtpeejgedrjeehrddvfeefrdegiedprhgvthhurhhnqdhprghthhepfdfuuhgurghrshhhrghnucfuucevhhgrfigrthhhvgdfuceotghhrgifsegvihhpuddtrdhorhhgqedpmhgrihhlfhhrohhmpegthhgrfiesvghiphdutddrohhrghdpnhhrtghpthhtohepkhgrfigrsehsohhurhgtvgifrghrvgdrohhrghenucevlhhushhtvghrufhiiigvpedt X-IsSubscribed: yes X-SW-Source: 2019-q3/txt/msg00014.txt.bz2 Message-ID: <20190830000400.gPNtu4iZ418sqE6Z7WE7ZMb_CtSmt1HO-99A3ou9POA@z> Thank you very much for the hint; it indeed works when invoked as you write. Regards, -chaw > Date: Sat, 24 Aug 2019 11:01:13 +0000 > From: spellcard199 > Subject: Re: Example of run-process with redirection to pipe? > > Hello. I am also new to kawa, and I don't know why it behaves the way it do= > es (seems a java permissions thing to me), but you can get the InputStream = > using: > > (gnu.kawa.functions.RunProcess:getInputStreamFrom p) > > I found this using "grep -r Stream" inside the Kawa/kawa/lib directory in t= > he kawa source code, which I found to be a great learning resource. >