[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Add --background support for Windows (!464)
From: |
Tim Rühsen |
Subject: |
Re: wget2 | Add --background support for Windows (!464) |
Date: |
Mon, 27 Jan 2020 13:01:11 +0000 |
Tim Rühsen started a new discussion on src/wget.c:
https://gitlab.com/gnuwget/wget2/merge_requests/464#note_277340454
> + sa.nLength = sizeof(sa);
> + sa.lpSecurityDescriptor = NULL;
> + sa.bInheritHandle = TRUE;
> +
> + // Create an anonymous inheritable event object that starts out
> + // non-signaled.
> + event = CreateEvent(&sa, FALSE, FALSE, NULL);
> + if (!event)
> + return;
> +
> + // Create the child process detached form the current console and in a
> + // suspended state.
> + memset(&(si), '\0', sizeof(si));
> + si.cb = sizeof(si);
> + rv = CreateProcess(exe, GetCommandLine(), NULL, NULL, TRUE,
> + CREATE_SUSPENDED |
> DETACHED_PROCESS,
Please check the indentation / alignment. Indentation is 1xtab , followed by
alignment 20x space (or so).
The space alignment is so that different tab widths still keep the wrapped
lines aligned.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/merge_requests/464#note_277340454
You're receiving this email because of your account on gitlab.com.
- wget2 | Add --background support for Windows (!464), Suhas K S, 2020/01/26
- Re: wget2 | Add --background support for Windows (!464), Tim Rühsen, 2020/01/27
- Re: wget2 | Add --background support for Windows (!464), Tim Rühsen, 2020/01/27
- Re: wget2 | Add --background support for Windows (!464), Tim Rühsen, 2020/01/27
- Re: wget2 | Add --background support for Windows (!464), Tim Rühsen, 2020/01/27
- Re: wget2 | Add --background support for Windows (!464), Tim Rühsen, 2020/01/27
- Re: wget2 | Add --background support for Windows (!464),
Tim Rühsen <=
- Re: wget2 | Add --background support for Windows (!464), Tim Rühsen, 2020/01/27
- Re: wget2 | Add --background support for Windows (!464), Tim Rühsen, 2020/01/27
- Re: wget2 | Add --background support for Windows (!464), Tim Rühsen, 2020/01/28
- Re: wget2 | Add --background support for Windows (!464), Tim Rühsen, 2020/01/28
- Re: wget2 | Add --background support for Windows (!464), Tim Rühsen, 2020/01/28