Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ BuildCommandLine()

static void System.Diagnostics.Process.BuildCommandLine ( ProcessStartInfo startInfo,
ref System::Text::ValueStringBuilder commandLine )
inlinestaticprivate

Definition at line 1912 of file Process.cs.

1913 {
1914 ReadOnlySpan<char> value = startInfo.FileName.AsSpan().Trim();
1915 bool flag = value.Length > 0 && value[0] == '"' && value[value.Length - 1] == '"';
1916 if (!flag)
1917 {
1918 commandLine.Append('"');
1919 }
1920 commandLine.Append(value);
1921 if (!flag)
1922 {
1923 commandLine.Append('"');
1924 }
1925 startInfo.AppendArgumentsTo(ref commandLine);
1926 }

References System.Runtime.Serialization.Dictionary, and System.value.

Referenced by System.Diagnostics.Process.StartWithCreateProcess().