cmd - Java capture process output with color -
is there way capture console output process color formatting? capturing output
bufferedreader br = new bufferedreader(new inputstreamreader(p.getinputstream()));
but cant find way how capture text colors. colored text not start special character or anything.
i printing captured text ui user see log of process hard read. copy colors console.
can done in java? running command in console processbuilder
. if run command in commandline see colored text, not in java.
this application going run on windows great if work on linux.
Comments
Post a Comment