Files
mono/mcs/class/System/System.CodeDom.Compiler/Executor.cs
T
Andreas N fd1549e5ea 2003-07-10 Andreas Nahr <[email protected]>
* Executor.cs: Changed abstract to sealed

svn path=/trunk/mcs/; revision=16107
2003-07-10 16:56:19 +00:00

52 lines
1.5 KiB
C#

//
// System.CodeDom.Compiler.Executor.cs
//
// Author(s):
// Andreas Nahr ([email protected])
//
// (C) 2003 Andreas Nahr
//
using System;
using System.IO;
namespace System.CodeDom.Compiler
{
public sealed class Executor
{
private Executor ()
{
}
public static void ExecWait (string cmd, TempFileCollection tempFiles)
{
string outputName = null;
string errorName = null;
ExecWaitWithCapture (IntPtr.Zero, cmd, Environment.CurrentDirectory, tempFiles, ref outputName, ref errorName);
}
[MonoTODO]
public static Int32 ExecWaitWithCapture (IntPtr userToken, string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName)
{
throw new NotImplementedException();
}
public static Int32 ExecWaitWithCapture (IntPtr userToken, string cmd, TempFileCollection tempFiles, ref string outputName, ref string errorName)
{
return ExecWaitWithCapture (userToken, cmd, Environment.CurrentDirectory, tempFiles, ref outputName, ref errorName);
}
public static Int32 ExecWaitWithCapture (string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName )
{
return ExecWaitWithCapture (IntPtr.Zero, cmd, currentDir, tempFiles, ref outputName, ref errorName);
}
public static Int32 ExecWaitWithCapture (string cmd, TempFileCollection tempFiles, ref string outputName, ref string errorName)
{
return ExecWaitWithCapture (IntPtr.Zero, cmd, Environment.CurrentDirectory, tempFiles, ref outputName, ref errorName);
}
}
}