Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a4ff409341
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (33 sloc) 0.906 kb
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Security;
namespace IronAHK
{
partial class Program
{
const bool debug =
#if DEBUG
true
#else
false
#endif
;
[SuppressUnmanagedCodeSecurityAttribute]
internal static class SafeNativeMethods
{
[DllImport("kernel32.dll")]
internal static extern bool AllocConsole();
}
[Conditional("DEBUG")]
static void Start(ref string[] args)
{
if (Environment.OSVersion.Platform == PlatformID.Win32NT)
SafeNativeMethods.AllocConsole();
const string source = "..{0}..{0}..{0}Tests{0}Code{0}isolated.ahk";
const string binary = "test.exe";
args = string.Format(source + " --out " + binary, Path.DirectorySeparatorChar).Split(' ');
}
}
}
Jump to Line
Something went wrong with that request. Please try again.