On Wednesday, 28 August 2019 at 13:15:14 UTC, a11e99z wrote:
On Wednesday, 28 August 2019 at 12:19:54 UTC, Andre Pany wrote:
Hi,
I call another process using function pipeShell and
Redirect.all.
import std;
void main()
{
auto p = pipeShell("a.exe", Redirect.all);
p.stdin.writeln("
On Wednesday, 28 August 2019 at 13:15:14 UTC, a11e99z wrote:
On Wednesday, 28 August 2019 at 12:19:54 UTC, Andre Pany wrote:
Hi,
I call another process using function pipeShell and
Redirect.all.
import std;
void main()
{
auto p = pipeShell("a.exe", Redirect.all);
p.stdin.writeln("
On Wednesday, 28 August 2019 at 12:19:54 UTC, Andre Pany wrote:
Hi,
I call another process using function pipeShell and
Redirect.all.
import std;
void main()
{
auto p = pipeShell("a.exe", Redirect.all);
p.stdin.writeln("e1");
p.stdin.writeln("10");
p.stdin.writeln("e2");
On Wednesday, 28 August 2019 at 12:19:54 UTC, Andre Pany wrote:
Hi,
I call another process using function pipeShell and
Redirect.all.
In case the child process(also D application) throws an
exception (str to int conversion exception), the child process
shows a message box on windows.
I fo
On Wednesday, 28 August 2019 at 12:19:54 UTC, Andre Pany wrote:
and try to use
https://docs.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-seterrormode
SEM_FAILCRITICALERRORS
for mother process and child process will inherit it
On Wednesday, 28 August 2019 at 12:19:54 UTC, Andre Pany wrote:
Hi,
I call another process using function pipeShell and
Redirect.all.
In case the child process(also D application) throws an
exception (str to int conversion exception), the child process
shows a message box on windows.
1)