hexagon logo

String settings to run process

cmd string is formed using below commands. Process is not executed properly due to spaces in the path. Please suggest.
​exe_path = "C:\Program Files (x86)\test\1.0\CAPA1.exe"
filename = "C:\Disck D\Patran/test4.bdf"
cmd = exe_path//" -p "//filename//" "//Part_list.txt
$# STRING cmd[512] = "C:\Program Files (x86)\test\1.0\CAPA1.exe -p C:\Disck D\Patran/test4.bdf Part_list.txt"
status = utl_process_spawn(cmd, TRUE)