Also note that under windows the analogous command is 'start'

For example:

   require'task'
   shell 'start ',jpath '~addons'

Thanks,

-- 
Raul


On Tue, Jun 9, 2015 at 5:45 PM, Ian Clark <[email protected]> wrote:
> For anyone else who needs this, and didn't grasp what Raul and I were saying:
>
> openw=: [: shell 'open ' , ]
>
> openw jpath '~addons'   NB. ---for example
>
>
> On Tue, Jun 9, 2015 at 10:41 PM, Ian Clark <[email protected]> wrote:
>> Thanks, Raul. (So easy when you know.)
>>
>> On Tue, Jun 9, 2015 at 2:07 PM, Raul Miller <[email protected]> wrote:
>>> open
>>>
>>> Note that 'open' will perform the default action for the path, and
>>> typically for a directory, that's going to give you finder.
>>>
>>> --
>>> Raul
>>>
>>>
>>> On Tue, Jun 9, 2015 at 8:36 AM, Ian Clark <[email protected]> wrote:
>>>> Any Mac power-user out there, please...
>>>>
>>>> How do I open a Finder window on a given folder, the path stored in
>>>> the J noun MYPATH? All I need is the Terminal.app command, and I can
>>>> use the system verb: shell, like this:
>>>>
>>>>    shell 'ls ' , MYPATH
>>>>
>>>> In other words, what to use instead of 'ls ' ?
>>>> ----------------------------------------------------------------------
>>>> 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

Reply via email to