Re: CreateProcess command line parsing

2005-11-15 Thread Rufoo
> > According to MSDN documentation, CreateProcess > > requires the app name(and the app name in the > command > > line) to be enclosed in quotes if it has spaces in > it. > > Please check MSDN again. Here is what it says: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/

Re: CreateProcess command line parsing

2005-11-14 Thread Francois Gouget
On Thu, 10 Nov 2005, Rufoo wrote: I am looking at dlls/kernel/process.cc:get_file_name that parses the command line. It seems to handle the case where the application name has spaces in it but the application name is not enclosed in double quotes. According to MSDN documentation, CreateProcess r

Re: CreateProcess command line parsing

2005-11-10 Thread Mike McCormack
Rufoo wrote: I am looking for a test case for this, I am unable to find it in kernel/tests/process.cc. Can someone clarify if it is really required to handle this case? How about writing a test case and show us that the behaviour is wrong? Mike

CreateProcess command line parsing

2005-11-10 Thread Rufoo
I am looking at dlls/kernel/process.cc:get_file_name that parses the command line. It seems to handle the case where the application name has spaces in it but the application name is not enclosed in double quotes. According to MSDN documentation, CreateProcess requires the app name(and the app name