프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BeginGuiMacro | |||
Init_AnsiLog | |||
Init_ConsoleProcessMonitoring | void | ||
Init_MakeConEmuCommandLine | |||
Init_MakeConEmuCommandLine_EmitConfigFile | string | ||
Init_MakeConEmuCommandLine_EmitConfigFile_EscapeEchoText | string | ||
Init_PayloadProcessMonitoring_WaitForExitCodeAsync | Task |
||
Init_StartConEmu | |||
Init_TempWorkingFolder | |||
Init_WireEvents | void | ||
KillConsoleProcessAsync | Task |
||
TerminateLifetime | void | ||
TryFireConsoleProcessExited | void | ||
WaitForConsoleEmulatorCloseAsync | Task | ||
WaitForConsoleProcessExitAsync | Task |
메소드 | 설명 | |
---|---|---|
Close ( ) : void |
An alias for CloseConsoleEmulator.
|
|
CloseConsoleEmulator ( ) : void |
Closes the console emulator window, and kills the console process if it's still running. This also closes the running session, the control goes blank and ready for running a new session. To just kill the console process, use KillConsoleProcessAsync. If ConEmuStartInfo.WhenConsoleProcessExits allows, the console emulator window might stay open after that.
|
|
ConEmuSession ( [ startinfo, [ hostcontext ) : System |
Starts the session. Opens the emulator view in the control (HWND given in hostcontext) by starting the ConEmu child process and giving it that HWND; ConEmu then starts the child Console Process for the commandline given in startinfo and makes it run in the console emulator window.
|
|
ExecuteGuiMacroTextAsync ( [ macrotext ) : Task |
Executes a ConEmu GUI Macro on the active console, see http://conemu.github.io/en/GuiMacro.html . This function takes for formatted text of a GUI Macro; to format parameters correctly, better use the BeginGuiMacro and the macro builder.
|
|
ExecuteGuiMacroTextSync ( [ macrotext ) : |
Executes a ConEmu GUI Macro on the active console, see http://conemu.github.io/en/GuiMacro.html , synchronously. This function takes for formatted text of a GUI Macro; to format parameters correctly, better use the BeginGuiMacro and the macro builder.
|
|
GetConsoleProcessExitCode ( ) : int |
Gets the exit code of the console process, if This state only changes on the main thread.
|
|
SendControlBreakAsync ( ) : Task |
Sends the Unlike KillConsoleProcessAsync, this is a soft signal which might be processed by the console process for a graceful shutdown, or ignored altogether.
|
|
SendControlCAsync ( ) : Task |
Sends the Unlike KillConsoleProcessAsync, this is a soft signal which might be processed by the console process for a graceful shutdown, or ignored altogether.
|
|
WriteInputText ( [ text ) : Task |
Writes text to the console input, as if it's been typed by user on the keyboard. Whether this will be visible (=echoed) on screen is up to the running console process.
|
|
WriteOutputText ( [ text ) : Task |
Writes text to the console output, as if the current running console process has written it to stdout. Use with caution, as this might interfere with console process output in an unpredictable manner.
|
메소드 | 설명 | |
---|---|---|
BeginGuiMacro ( [ sMacroName ) : |
||
Init_AnsiLog ( [ startinfo ) : |
||
Init_ConsoleProcessMonitoring ( ) : void |
Watches for the status of the payload console process to fetch its exitcode when done and notify user of that.
|
|
Init_MakeConEmuCommandLine ( [ startinfo, [ hostcontext, [ ansilog, [ dirLocalTempRoot ) : |
||
Init_MakeConEmuCommandLine_EmitConfigFile ( [ dirForConfigFile, [ startinfo, [ hostcontext ) : string | ||
Init_MakeConEmuCommandLine_EmitConfigFile_EscapeEchoText ( [ text ) : string |
Applies escaping so that (1) it went as a single argument into the ConEmu's
|
|
Init_PayloadProcessMonitoring_WaitForExitCodeAsync ( ) : Task |
Async-loop retries for getting the root payload process to await its exit.
|
|
Init_StartConEmu ( [ startinfo, [ cmdl ) : |
||
Init_TempWorkingFolder ( ) : |
||
Init_WireEvents ( [ startinfo ) : void | ||
KillConsoleProcessAsync ( ) : Task |
||
TerminateLifetime ( ) : void | ||
TryFireConsoleProcessExited ( int nConsoleProcessExitCode ) : void |
Fires the payload exited event if it has not been fired yet.
|
|
WaitForConsoleEmulatorCloseAsync ( ) : Task | ||
WaitForConsoleProcessExitAsync ( ) : Task |
public ConEmuSession ( [ startinfo, [ hostcontext ) : System | ||
startinfo | [ | User-defined startup parameters for the console process. |
hostcontext | [ | Control-related parameters. |
리턴 | System |
public ExecuteGuiMacroTextAsync ( [ macrotext ) : Task |
||
macrotext | [ | The full macro command, see http://conemu.github.io/en/GuiMacro.html . |
리턴 | Task |
public ExecuteGuiMacroTextSync ( [ macrotext ) : |
||
macrotext | [ | The full macro command, see http://conemu.github.io/en/GuiMacro.html . |
리턴 |