Assuming
_tempPath = C:\Users\Temp
Assembly.GetEntryAssembly().Location = C:\Program Files\MySoftware
What would the output be of the following interpolated string statement?
ProcessStartInfo.Arguments = $"\"{_tempPath}\" \"{Assembly.GetEntryAssembly().Location}\""
I've done a bit of research but I am still unsure if these are two separate arguments passed to the process, or if they are combined into a single string.
CodePudding user response:
Your output should be a single string - "C:\Users\Temp" "C:\Program Files\MySoftware"