❔ Trying to run a command through C# on macOS
I'm currently utilising Jetbrains rider. My tutor has tasked me with creating a simple little C# transpiler, that will have source code, which works and builds into a CS file, after that it then needs to compile via Mono.
Everything works except trying to get the
csc build.cs
file working.
5 Replies
you're specifying
csc
twice
this will equate to running csc csc build/build.cs
in the terminalI see
so i really should be doing
Process.Start(command);
@Pobiega ?
When doing that:
no
you should remove the
csc
from the command you are generating
the first argument to process.start
is the command itself, not any argumentsOh don’t think of that x
Ty
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.