Following function encapsulates code for using CreateProcess Windows API for launching other programs.
It is configurable and can wait until calling process finishes or return immediately.
Parameters:
FileName - full path to executable
Params - command line parameters or use empty string
Fold...