Skip to content

Commit 956594c

Browse files
author
Kapil Borle
committed
Add lastexitcode to a list of special variables
1 parent ba1b02d commit 956594c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Engine/SpecialVars.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ internal enum PreferenceVariable
164164
internal const string Null = "null";
165165
internal const string True = "true";
166166
internal const string False = "false";
167+
internal const string LastExitCode = "LastExitCode";
167168

168169
internal static readonly string[] OtherInitializedVariables = new string[]
169170
{
@@ -184,7 +185,8 @@ internal enum PreferenceVariable
184185
pwd,
185186
Null,
186187
True,
187-
False
188+
False,
189+
LastExitCode
188190
};
189191

190192
}

0 commit comments

Comments
 (0)