D Logo
Menu
  • Learn
  • Documentation
    • Language Reference
    • Library Reference
    • Command-line Reference
    • Feature Overview
    • Articles
  • Downloads
  • Packages
  • Community
    • Blog
    • Orgs using D
    • Twitter
    • Calendar
    • Forums
    • IRC
    • Wiki
    • GitHub
    • Issues
    • Get involved
    • Contributors
    • Foundation
    • Donate
    • Sponsors
  • Resources
    • Tour
    • Books
    • Tutorials
    • Tools
    • Editors
    • IDEs
    • Visual D
    • Acknowledgments
    • D Style
    • Glossary
    • Sitemap
Search

Forums

Forum Index

  • New users
    • Learn
  • Community
    • General
    • Announce
  • Improvements
    • DIP Ideas
    • DIP Devel.
  • Ecosystem
    • GDC
    • LDC
    • Debuggers
    • IDEs
    • DWT
  • Development
    • Internals
    • Issues
    • Beta
    • DMD
    • Phobos
    • Druntime
    • Study
  • Turkish
    • Genel
    • Duyuru
Log in
Settings
Help
Index » Learn » How do I redirect stderr of a spawned process into an internal buffer?

November 28, 2011
Re: How do I redirect stderr of a spawned process into an internal buffer?
Gravatar of Andrej MitrovicPosted by Andrej MitrovicPermalinkReply
Andrej Mitrovic
Gravatar of Andrej Mitrovic


PermalinkReply
Ok I've got a solution coming via windows pipes. Gonna upload next day on dwinprog.
November 28, 2011
Re: How do I redirect stderr of a spawned process into an internal buffer?
Gravatar of Andrej MitrovicPosted by Andrej MitrovicPermalinkReply
Andrej Mitrovic
Gravatar of Andrej Mitrovic


PermalinkReply
Maybe even today. Here we go (second one is threaded):

https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/RedirectChildHandle

https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/RedirectChildHandleThreaded
Top | Forum index | About this forum
Copyright © 1999-2021 by the D Language Foundation