diff -Naurdp linphone-3.5.2/console/shell.c linphone-3.5.2-argv/console/shell.c --- linphone-3.5.2/console/shell.c 2012-02-22 11:54:29 +0000 +++ linphone-3.5.2-argv/console/shell.c 2012-09-28 11:15:43 +0000 @@ -22,7 +22,7 @@ #include #include - +#include #ifdef WIN32 #include @@ -181,8 +181,25 @@ static void spawn_linphonec(int argc, ch si.cb = sizeof(si); ZeroMemory( &pinfo, sizeof(pinfo) ); + char* cmd = "linphoned.exe --pipe -c NUL"; + unsigned int argv_len = strlen(cmd); + int i; + for (i=0; i