get system console text?
BlitzMax Forums/BlitzMax Programming/get system console text?
| ||
I tried to get the error message from the java compiler but it doesnt print anything
Import pub.freeprocess
Local process:TProcess
Local bytes:Byte[]
process:tprocess=createprocess("C:\Program Files\Java\jdk1.6.0_11\bin\javac c:\download\wait.java")
'process:tprocess=createprocess("trev.exe")
If process
While True
bytes=process.pipe.ReadPipe()
If bytes
Print String.FromBytes(bytes,Len bytes)
EndIf
If Not process.status() Exit
Delay 10
Wend
Else
Print "no"
EndIf |
| ||
| Have you tried reading the 'err' (error) pipestream from the process yet? |
| ||
| yea it didnt work either |