This may be of help: exec.dll by argv. You can capture results without a window being visible.