madogumglynium
madogumglynium
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
so raw!
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
also, Gutter Country is pretty dope
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
i am going to look into that , i noiticed it (idk how to fix that)
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
@ZP ░▒▓█├■̶˾̶͞■┤█▓▒░ Thanks Zach!
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
is there a more graceful way of shutting down the process?
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
@just_ero THANKS!!!
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
UR A GENIOUS!
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
OMGOSH BRO
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
using Process process = new()
{
StartInfo = new()
{
FileName = path,
UseShellExecute = false,
RedirectStandardOutput = true,
CreateNoWindow = true
}
};

process.OutputDataReceived += new DataReceivedEventHandler((sender, e) =>
{
if (string.IsNullOrEmpty(e.Data))
return;

BeginInvoke(() =>
{
tboxConsole.AppendText(e.Data + Environment.NewLine);
tboxConsole.Refresh();
});
});

process.Start();
process.BeginOutputReadLine();
using Process process = new()
{
StartInfo = new()
{
FileName = path,
UseShellExecute = false,
RedirectStandardOutput = true,
CreateNoWindow = true
}
};

process.OutputDataReceived += new DataReceivedEventHandler((sender, e) =>
{
if (string.IsNullOrEmpty(e.Data))
return;

BeginInvoke(() =>
{
tboxConsole.AppendText(e.Data + Environment.NewLine);
tboxConsole.Refresh();
});
});

process.Start();
process.BeginOutputReadLine();
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
i dont see any output on my side..
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
show me!
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
no way
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
wtf
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
at run time?
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
what? u see output?
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
i was clear about this since day one lol
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
u run the form, then click start, and the form would run the exe as a separate process
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
no u dont
72 replies
CC#
Created by madogumglynium on 7/5/2023 in #help
✅ Capturing process output
you can use a vm if ur sus
72 replies