Legend:

On Windows, one creates a new process with [http://msdn.microsoft.com/en-us/library/ms682425(v=vs.85).aspx | CreateProcess], which accepts a string parameter that contains the command line for the newly created process.

1

On Windows, one creates a new process with [http://msdn.microsoft.com/en-us/library/ms682425(v=vs.85).aspx CreateProcess], which accepts a string parameter that contains the command line for the newly created process.

2

2

3

3

In the newly created process, C runtime code then parses this string and constructs argc and argv[]. The rules used to do this are described by http://msdn.microsoft.com/en-us/library/a1y7w461.aspx.