I need to convert java.lang.ProcessImpl to a String, any ideas?
arionyx 0 Newbie Poster
Recommended Answers
Jump to PostFirst question is why?
This class is for the exclusive use of ProcessBuilder.start() to create new processes. It's a private part of the internal technical implementation of Processes. It's definitely not a thing you should be messing about with at your level of Java expertise.
Jump to PostThe Runtime.exec returns a Process object that describes the process. You can then use
p.getInputStream()
which returns the input stream connected to the normal output of the subprocess. The stream obtains data piped from the standard output of the process represented by this Process object. Once you have the input …
All 5 Replies
SakuraAssassin 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
arionyx 0 Newbie Poster
arionyx 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.