On July 6, 2020 5:36:40 AM GMT+03:00, Eli Zaretskii <e...@gnu.org> wrote: > > The next thing I'd suggest to study is the code in src/process.c, > where the pty's are used for communicating with subprocesses. > > And the next thing to study is how we detect optional functionality on > MS-Windows and use it at run time; see the macros DEF_DLL_FN and > LOAD_DLL_FN.
Sorry, I forgot to mention the source file src/w32proc.c, which is the MS-Windows counterpart of src/process.c, and holds the w32 specific support for running subprocesses.