[Jbeta] Spinning off non-display version of J7

2010-12-30 Thread Devon McCormick
All - I've recently gotten accustomed, in J6, to writing a few lines of code which will run for a long time to a file, then running these lines by forking off a non-display (console-less) version of J, e.g. (0 : 0) fwrite 'bkpUsu.ijs' load 'bkp' NB. Start custom backup: gather info on all

Re: [Jbeta] Spinning off non-display version of J7

2010-12-30 Thread bill lam
This is a feature of console program, I imagine jconsole in J6 will behave in the same way. You can either use CreateProcess api to start a console-less process or start a new shell using CMD/C (or CMD/K?) to execute jconsole. (untested). Чтв, 30 Дек 2010, Devon McCormick писал(а): All - I've

Re: [Jbeta] Spinning off non-display version of J7

2010-12-30 Thread bill lam
The fork in jtask uses createprocess but it does not use the option to disable console window iirc. Птн, 31 Дек 2010, Tikkanz писал(а): On windows fork_jtask_ does use the CreateProcess api so I'd have thought it should work OK (can't test right now). On linux fork_jtask_ needs work to get

Re: [Jbeta] Spinning off non-display version of J7

2010-12-30 Thread Tikkanz
fork_jtask_ takes an optional left argument: 0 no wait, _1 infinite, 0 timeout With no left argument it defaults to 0 (no wait). Sounds to me that Devon isn't so worried about a new jconsole window popping up as spawning a separate process that will run independently of the current one. I have