We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe. When I call shell commands, I have to use the Process class, which is troublesome.
Process process = new Process(); process.StartInfo.FileName = ... process.StartInfo.Arguments = ... process.OutputDataReceived+=... process.Start();
Describe the solution you'd like
void Main() { var o="app"; //shell line: var return_code= #shell gcc -o main.c $"{o}.elf"; if(return_code==0) { #shell echo "build ok" //echo.exe output string Console.WriteLine("build ok"); //C# output string } var dir=Console.ReadLine(); //shell block: #shell { mkdir $"{dir}" cd $"{dir}" mkdir video //create a sub dir } }
Describe alternatives you've considered currently, there is no other available solution
The text was updated successfully, but these errors were encountered:
up up
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
When I call shell commands, I have to use the Process class, which is troublesome.
Describe the solution you'd like
Describe alternatives you've considered
currently, there is no other available solution
The text was updated successfully, but these errors were encountered: