Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Threads
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Threads and Synchronization
about Runtime.getRuntime().exec(shellCmd) create process
haifeng zhou
Greenhorn
Posts: 13
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
it run in Unix
Runtime.getRuntime().exec() will create child process to excute shell script
and if I kill parent process, the child process will aslo exit
so, does any way to prevent child process exit???
Ulf Dittmer
Rancher
Posts: 43081
77
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Welcome to JavaRanch. Please do not post the same question to multiple forums:
CarefullyChooseOneForum
Let's continue the discussion in this
duplicate thread
.
Consider Paul's
rocket mass heater
.
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to call .exe file by clicking the JButton..?
Closing Applications
Unsuccessful termination of Runtime.exitValue
Pass Data to outputstream
Passing runtime environment to child process on Solaris and citrix from java program
More...