Thanks. This did the trick:
]a =: spawn_jtask_ 'echo -n "hello" | openssl sha1' > From: [email protected] > Date: Sat, 13 Dec 2014 23:35:36 -0800 > To: [email protected] > Subject: Re: [Jprogramming] Calling Command line tools from J > > Hi Jon, > > The path to the script that defines launch, fork and spawn is > > jpath '~system/main/task.ijs' > > If you give that script a read you might find what you need. > > Hope this helps. > > Cheers, bob > > On Dec 13, 2014, at 11:11 PM, Jon Hough <[email protected]> wrote: > > > Thanks. > > > > I am currently trying to look on Jsoftware.com and its wiki for references > > to this, but searching fro "jtask" doesn't yield much. > > The one page I found seems to be a dead end > > http://www.jsoftware.com/user/script_task.htm > > > >> Date: Sun, 14 Dec 2014 07:01:48 +0000 > >> From: [email protected] > >> To: [email protected] > >> Subject: Re: [Jprogramming] Calling Command line tools from J > >> > >> the jtask locale is loaded by default. launch fork and spawn are the main > >> functions. > >> > >> > >> > >> ________________________________ > >> From: Jon Hough <[email protected]> > >> To: "[email protected]" <[email protected]> > >> Sent: Sunday, December 14, 2014 1:26 AM > >> Subject: [Jprogramming] Calling Command line tools from J > >> > >> > >> If I want to call a command line tool, e.g. openssl, how can I do this > >> from JQT? Is it possible? > >> > >> I'm thinking of something similar to Python's os.system > >> > >> https://docs.python.org/2/library/os.html#os.system > >> > >> > >> > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
