Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Eduardo Bustamante Newsgroups: gnu.bash.bug Subject: Re: announcing bashj Date: Sat, 23 Jun 2018 13:45:56 -0500 Lines: 34 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: usenet.stanford.edu 1529779582 8642 208.118.235.17 (23 Jun 2018 18:46:22 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash , bash@packages.debian.org To: pg Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8inOs9iX2yqMPLHHhWX4R+QzugZBfLLnkP4RdxshwVY=; b=SpZ1/J1MOmB1dJ4p9i5kZBALZ/dG+NElE6zNsirBWZIeCCkNPP3KBSqknzrKiuW71/ b53sslH2CuidbwfBT8euN9/4rnSTxITaBBun+D2/mUOSdCv2Es5f8ulx84VGcXNKiTTs 8xI1ZmQc6OE/vyp3HR15SO/fzJUwaJJCVR2MPoSW0GOUNKSNxz0OXgiuMHIAjOpUDnO8 /xUmSRDFWQOLo2PSi26Ne+lEkO1fTFoLTjkFeiMVbLjljshxTqnWQRVIjWFiE29MMsYD W6QImbdu9nr4u0mGSEEEqA6xPMyNQBN9MT0thnDN6eWPWYSMU+lsFG61nonBHwO99Kjg wSuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8inOs9iX2yqMPLHHhWX4R+QzugZBfLLnkP4RdxshwVY=; b=SuGitsSd/YkQX1gXlrj89OVRrtXDckC5E3yKvHd+vSskcYYC7G9pznJQNJDKHihJqS rVFnA5p9yNleOfiLTNXahPuRW9F6Z2oi9mv11hreoszLIhrlzFpVp1Ya7tqMqX4xashu 7J6kpqEhw4hgO3eToebBbbB0PM8mFjax2E13fatwu380E+mOlhG9jpMRNsVxe4FCZkBv oAuuB6+EoFpoBtPD6xr9/XSNgD6TGueAuV6JxumJSyiRpXxv0WZhAVjyhuxi35FWn0Vy /P638m4HLTFoh587RXgztLvRISGgR4MVu0SUnFo1ZawlmVfnxgkhFf6+j3ixHQfoXIWX qlTA== X-Gm-Message-State: APt69E0i+Z/1t2WCkQWloueEbho0nkiI1UgDzvHIQdsgGxFzprcplH8p U8Yt8b0IZsqAOqHN1poVUSYMGh6PKESWWxDpdBY= X-Google-Smtp-Source: ADUXVKJnxyHoWzKEYuwQ+O4w8AIeQZC8/zm2Tq6R4Zhj59DZgHtxVR/btE0DpE5GXfnxCuhu54v/WSuIYSswXt55sq8= X-Received: by 2002:a19:a283:: with SMTP id l125-v6mr2276411lfe.100.1529779577139; Sat, 23 Jun 2018 11:46:17 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::22c X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:14265 On Sat, Jun 23, 2018 at 12:08 PM, pg wrote: [...] > Description: BASHJ - ANNOUNCE TO THE DEVELOPMENT TEAM OF BASH > > I am pleased to inform you about bashj - a bash 'mutant' with java > support. > This product opens numerous very interesting fields to bash developers. I have a few questions / comments: * Under which license / use terms are you releasing bashj? It doesn't seem to be free software, the source code does not seem to be available in the Sourceforge project, and I can't find any reference to the license in the links you shared. FWIW, I don't have enough confidence to test bashj by just downloading a random JAR file from the internet and executing it in my computer. I would like to be able to inspect the source code and build it myself. * The wiki page recommends creating the installation directory with 0777 permissions. That seems a bit too insecure? Why does it need world-wide write permissions? (i.e. "sudo mkdir -m=777 /var/lib/bashj/ # create the installation directory") * What's the motivation behind bashj? I'm having trouble understanding why one would like to use a mixture of Java and bash in the same program, when there are options like Jython and Groovy to run dynamic scripting languages in the JVM. Are you using bashj for a particular application for which Groovy wasn't apt? * Since I haven't run the code (for reasons explained above): How do you handle things like the program's current working directory, the environment, subshells, controlling terminal, etc. when everything seems to run in the same JVM server process?