Hi, Anyone had successful capturing console output into a string, file or else ?
I tried with io.popen, but the executable doesn’t start and return an invalid file handle.
Any idea ?
Hi, Anyone had successful capturing console output into a string, file or else ?
I tried with io.popen, but the executable doesn’t start and return an invalid file handle.
Any idea ?
Usually console output is being piped into any sort of file?
path\file.exe >output.txt (creates new file everytime)
or
path\file.exe >>output.txt (appends to existing file)
Yes, although this might be not 100% safe solution (think about permission) I haven’t found nothing better.
Thank you