Just woke-up and can't go back to sleep.
Funny, because I did try using "Find In Files" yesterday to no avail. Now I
after reading your message ... I found the result. What's up with that?
Hahahahaha.
NB. =========================================================
NB. Result of Find In Files with the following parameters:
NB. Find what: spawn
NB. In context: any
NB. File type: Scripts
NB. In folders: System
NB. Match case: Unchecked
e:\eoe\j504\system\packages\misc\task.ijs (14)
NB. spawn 'net users' NB. get stdout from process
NB. '+/i.3 4'spawn'jconsole' NB. call process with I/O
NB.*spawn v [monad] get stdout of executed task
NB. form: stdout=. spawn cmdline
NB. e.g. spawn 'net users'
NB.*spawn v [dyad] send stdin and get stdout of task
NB. form: stdout=. [stdin=''] spawn cmdline
NB. e.g. 'i.3 4'spawn'jconsole'
spawn=: 3 : 0
'' spawn y.
shell=: (''"_ spawn 'cmd /c '&,) : (spawn 'cmd /c '&,)
spawn_z_=: spawn_jtask_
e:\eoe\j504\system\packages\misc\xenos.ijs (1)
hosts=: 2!:1 NB. host spawn
Thanks again. Much appreciated.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Oleg Kobchenko
Sent: Wednesday, February 03, 2010 2:05 AM
To: Programming forum
Subject: Re: [Jprogramming] Spawning Process in Windows
For the future, try Find in Files.
> From: Alex Rufon <[email protected]>
>
> Hi,
>
> This is a bit embarrassing but I'm a bit lost navigating the J Software
> website.
>
> You see, I need to execute a command line application from a J session and I
> found this area in the J website:
> http://www.jsoftware.com/help/user/script_task.htm
> It describes the verbs "task", "spawn" and "fork" which are exactly what I
> need.
> Unfortunately, I can't find any reference on where the source files are.
>
> An additional constraint is that my project is using J 504.
>
> Either way, what I am actually doing is trying to run execute "unzip.exe"
> from
> inside a J session (in Windows 2000 Advance Server) which I got from here:
> http://stahlworks.com/dev/index.php?tool=zipunzip
> The text file being sent to J has got around to 16MB (which is not a problem
> with J) and the web server is chocking and cuts off the web upload hence my J
> app is not receiving the file. My current solution is to zip the file from
> the
> client side and J would just automatically unzip the file then process it
> normally as it spawned.
>
> I'll still comb the net (and the jsoftware site) for solutions but any help
> is
> appreciated.
>
> Thanks.
>
> r/Alex
>
>
> ----------------------------------------------------------------------
> 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