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
| var indent_level = 0 | |
| function indent() | |
| { | |
| var spaces = "" | |
| for( var i=0; i<indent_level; ++i) | |
| spaces = spaces + " " | |
| return spaces | |
| } |
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
| from System.Diagnostics import Process | |
| p = Process() | |
| p.StartInfo.UseShellExecute = False | |
| p.StartInfo.RedirectStandardOutput = False | |
| p.StartInfo.FileName = r"C:\test.bat" | |
| p.Start() | |
| p.WaitForExit() | |
| print(p.ExitCode) |
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.ComponentModel; | |
| using System.Data; | |
| using System.Linq; | |
| using System.Text; | |
| using System.IO; | |
| namespace InputFileOptimizer |
OlderNewer