1 type derived from Exec
Microsoft.Build.Tasks.UnitTests (1)
Exec_Tests.cs (1)
1053internal sealed class ExecWrapper : Exec
3 instantiations of Exec
Microsoft.Build.Tasks.UnitTests (2)
Exec_Tests.cs (2)
40Exec exec = new Exec(); 886Exec exec = new Exec();
Microsoft.DotNet.Build.Tasks.Installers (1)
src\ExecWithRetries.cs (1)
66_runningExec = new Exec
41 references to Exec
Microsoft.Build.Tasks.UnitTests (40)
Exec_Tests.cs (40)
37private Exec PrepareExec(string command) 40Exec exec = new Exec(); 68Exec exec = PrepareExec("echo Hello World!"); 91Exec exec = PrepareExec("echo LANG=$LANG; echo LC_ALL=$LC_ALL;"); 131Exec exec = PrepareExec("echo Four days until ZBB!"); 148Exec exec = PrepareExec(NativeMethodsShared.IsWindows ? "xcopy thisisanonexistentfile" : "cp thisisanonexistentfile thatisanonexistentfile"); 166Exec exec = PrepareExec(NativeMethodsShared.IsWindows ? ":foo \n goto foo" : "while true; do sleep 1; done"); 185Exec exec = PrepareExec(NativeMethodsShared.IsWindows ? ":foo \n goto foo" : "while true; do sleep 1; done"); 205var exec = PrepareExec("echo hello\r\n\r\n"); 219Exec exec = PrepareExec("exit 120"); 233Exec exec = PrepareExec(cmdLine); 249Exec exec = PrepareExec(cmdLine); 259Exec exec = PrepareExec("dir ||invalid||"); 269Exec exec = PrepareExec(NativeMethodsShared.IsWindows ? "echo [%cd%]" : "echo [$PWD]"); 282Exec exec = PrepareExec("echo [%cd%]"); 305Exec exec = PrepareExec(NativeMethodsShared.IsWindows ? "echo [%cd%]" : "echo [$PWD]"); 340Exec exec = PrepareExec("echo [hello]"); 377Exec exec = PrepareExec("echo [hello]"); 415Exec exec = PrepareExec("echo [hello]"); 452Exec exec = PrepareExec("echo [hello]"); 537Exec exec = PrepareExec("exit 0"); 539Type execType = typeof(Exec); 572Exec exec; 615Exec exec = PrepareExec("echo [%cd%]"); 628Exec exec = PrepareExec("echo [%cd%]"); 639Exec exec; 672Exec exec = PrepareExec(cmdLine); 703Exec exec = PrepareExec(cmdLine); 730Exec exec = PrepareExec(cmdLine); 746Exec exec = PrepareExec(cmdLine); 763Exec exec = PrepareExec("echo unmatched curly {"); 779Exec exec = PrepareExec("echo unmatched curly {"); 796Exec exec = PrepareExec(cmdLine); 809Exec exec = PrepareExec("echo YOGI BEAR "); 822Exec exec = PrepareExec("echo [%cd%]"); 856Exec exec = PrepareExec("echo this is an innocuous successful command"); 871Exec exec = PrepareExec(" "); 886Exec exec = new Exec(); 903Exec exec = PrepareExec("set foo=blah"); 1041Exec exec = PrepareExec(NativeMethodsShared.IsWindows ? $"type {textFilePath}" : $"cat {textFilePath}");
Microsoft.DotNet.Build.Tasks.Installers (1)
src\ExecWithRetries.cs (1)
54private Exec _runningExec;