Function eCAL::Process::StartProcess

Function eCAL::Process::StartProcess#

Function Documentation#

ECAL_API int eCAL::Process::StartProcess(const char *proc_name_, const char *proc_args_, const char *working_dir_, bool create_console_, eCAL_Process_eStartMode process_mode_, bool block_)#

Start specified process (windows only).

Parameters:
  • proc_name_ – Process name.

  • proc_args_ – Process argument string.

  • working_dir_ – Working directory.

  • create_console_ – Start process in own console window (Windows only).

  • process_mode_ – Start process normal, hidden, minimized, maximized (Windows only).

  • block_ – Block until process finished.

Returns:

Process id or zero if failed.