This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class BashExecutor | |
| { | |
| // fire and forget, method style execution | |
| static void ExecuteEnf(string code) | |
| { | |
| FileHandle file; | |
| MakeDirectory("$profile:Bash/"); // create directory for logging and execution purposes | |
| string script_path = string.Format("$profile:Bash/script_%1.c", GetDate()); | |
| file = OpenFile(script_path, FileMode.WRITE); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Runtime.Serialization.Formatters.Binary; | |
| using System.Runtime.InteropServices; | |
| using System.Diagnostics; | |
| public class MessageHelper | |
| { |