Guten Tag Community,
Ich habe ein kleines Problem mit dem Compiler von PAWN.
Folgenden Code habe ich in meiner IDE ([oPAWN]) stehen:
Code
Process comp= new Process();
comp.StartInfo.FileName = "pawncc.exe";
comp.StartInfo.Arguments = filename;
comp.StartInfo.UseShellExecute = false;
comp.StartInfo.RedirectStandardOutput = true;
comp.Start();
StreamReader output= compiler.StandardOutput;
listBox1.Items.Clear();
while (!output.EndOfStream)
{
String line = output.ReadLine();
listBox1.Items.Add(Environment.NewLine + "[" + DateTime.Now + "]: " + line);
}
Alles anzeigen
Und so sieht das Ergebnis aus:
Obwohl eig. kein Error drin sein sollte bzw. kann.
Was ist am obig genannten Code falsch?
Ich hoffe ich treffe schnell auf Hilfe.
MFG