P
puzzlecracker
if I want to run a java application from the same java application:
meaning parent process spawns a child process, but passes different
parameters (to avoid infinite spawning); does the child inherits
parent's classpath and other configurations
or do I need to pass the classpath along?
If I am using linux env. and exported the classpath, will it be used.
Basically, I want the application to run on win32 (eclipse) and Linux.
Also, child process does a lot of printing, should create another
thread to monitor and read its output or what?
what is the general pattern for this kind of a thing.
Suggestions and examples will be appreciated.
Thanks
ps.I was trying to do something with listerner but cannot get printing
to work.....
meaning parent process spawns a child process, but passes different
parameters (to avoid infinite spawning); does the child inherits
parent's classpath and other configurations
or do I need to pass the classpath along?
If I am using linux env. and exported the classpath, will it be used.
Basically, I want the application to run on win32 (eclipse) and Linux.
Also, child process does a lot of printing, should create another
thread to monitor and read its output or what?
what is the general pattern for this kind of a thing.
Suggestions and examples will be appreciated.
Thanks
ps.I was trying to do something with listerner but cannot get printing
to work.....