Hello!
I've been working on this problem for days. I've Googled high and low for a solution, but no dice.
Here's what I want to do. Through my VBScript I want to execute an external process (program). I want to redirect the standard output of that external process to a string variable. I know how to do this with a process.exec, but the problem is process.exec shows the command prompt window. I want to hide the command prompt window.
Now I know that process.run can hide the command prompt, but to my knowledge there is no way to redirect the process's standard output DIRECTLY to a string variable, which is what I need to do.
I canNOT run the process, redirect the output to a file, and then parse the file. That is, I know how to do that, but that's not an acceptable solution for this project.
Any ideas?
Norm
I've been working on this problem for days. I've Googled high and low for a solution, but no dice.
Here's what I want to do. Through my VBScript I want to execute an external process (program). I want to redirect the standard output of that external process to a string variable. I know how to do this with a process.exec, but the problem is process.exec shows the command prompt window. I want to hide the command prompt window.
Now I know that process.run can hide the command prompt, but to my knowledge there is no way to redirect the process's standard output DIRECTLY to a string variable, which is what I need to do.
I canNOT run the process, redirect the output to a file, and then parse the file. That is, I know how to do that, but that's not an acceptable solution for this project.
Any ideas?
Norm