Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7768833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:01:06+00:00 2026-06-01T16:01:06+00:00

Not parsing the parameters in the beginning but parse the input string read from

  • 0

Not parsing the parameters in the beginning but parse the input string read from a pipe at some time the program has already run for some time. Can boost::program_options do this? Thanks.
EDIT:
I have to test a c++ program a lot of times with different parameters in python. I want to pass parameters through subprocess.PIPE to change the program’s behavior.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T16:01:07+00:00Added an answer on June 1, 2026 at 4:01 pm

    I can’t imagine why not. That said, why are you trying to pipe the options to the program? Presumably you’re looking at an option set that’s too lengthy to type at every invocation of the program. If so, program_options has a really nice way to incorporate configuration files so that they’ll be examined for options before the command line.

    As always, there’s some great documentation and examples available from Boost that explains this in detail.

    EDIT: Thanks for the clarification. If you’re looking to deal with piping input to or from subprocesses in Python, then subprocess.PIPE is your friend.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read some posts on here about not mixing parameters when passing into
Usually JAXB works but it is not parsing my schema correctly or something as
Im not sure if endian is the right word but.. I have been parsing
Parsing the string message seems bad. Or was this exception not meant to be
I have written some physics simulation code in C++ and parsing the input text
Seeking suggestions from PHP architects! I'm not terribly familiar with PHP but have taken
Parsing some data and inserting it into 3 tables from .NET. Using Table Valued
I'm sure some variation of this question has been asked before but all other,
I'm parsing a (not well formed) Apple Plist File with java. My Code looks
I am interested in parsing regexes (not to be confused with using regexes for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.