Executes the shell command stringCommand. If executed in 'sync'mode or without additional inputs, the application waits until the execution is complete. If executed in 'async'mode, stringCommand is executed in a detached thread and control is returned to the application immediately.