Is that still the case? 2!:0'uname -prs' Darwin 18.7.0 i386
Thanks, -- Raul On Mon, Mar 22, 2021 at 10:16 AM Eric Iverson <[email protected]> wrote: > > Use the facilities in ~system/main/task.ijs to run host commands. > > The (2!:0) mentioned by Raul is windows only. The service it offers is > provided in windows by task.ijs. > > You probably want to replace winexec with shell_jtask_ . > > On Mon, Mar 22, 2021 at 8:04 AM Ewart Shaw <[email protected]> wrote: > > > Back in the days of J6 and 11!:0 to interact with MS Windows, I wrote my > > own backup system calling 7-zip from J. It would check if any files in 200+ > > directory trees had been updated since the corresponding .7z backup file > > was last updated, and if so then it would update the corresponding .7z > > backup file. > > > > The system still works pretty efficiently and has saved me a couple of > > times when computers died. However I want if possible to convert all my > > remaining legacy J programs to J9. The relevant J6 command is in effect > > 11!:0 'winexec "7z.exe a -r correspondingbackup.7z from updatedtreeroot"' > > > > I can't see how to do this in J9; is it possible? Sorry if that's a dumb > > question - for various reasons (most recently long covid) I've fallen > > behind with J developments. > > > > Many thanks, Ewart > > -- > > Ewart Shaw [J.E.H.Shaw] http://www.ewartshaw.com [Work in Progress] > > [email protected] http://www.facebook.com/ewart.shaw > > 3 ((4&({*.(=+/))++/=3:)@([:,/0&,^:(i.3)@|:"2^:2))&.>@]^:(i.@[) <#:3 6 2 > > ---------------------------------------------------------------------- > > 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
