[Windows][MSVC] Add support of std::initializer_list<string_view> for windows::default_launcher::operator()
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- operating-systems
Research direction
Start with the declarations and implementation reached through boost/process.hpp, comparing basic_process construction with windows::default_launcher::operator(). Reproduce the two supplied MSVC examples and trace the launcher overloads; done means the launcher accepts std::initializer_liststd::string_view consistently with the basic_process constructor.
Written by the indexing model from the issue text.
Description
Got a problem at Boost version 1.88
This can be compiled
#define WIN32_LEAN_AND_MEAN
#include "boost/process.hpp"
int main()
{
boost::asio::io_context ctx;
auto process = boost::process::process(ctx, "C:\\Windows\\System32\\cmd.exe", {});
return 0;
}
And this can't
#define WIN32_LEAN_AND_MEAN
#include "boost/process.hpp"
int main()
{
boost::asio::io_context ctx;
boost::process::default_process_launcher launcher;
auto process = launcher(ctx, "C:\\Windows\\System32\\cmd.exe", {});
return 0;
}
Because the basic_process constructor supports std::initializer_list<string_view>, but the windows::default_launcher::operator() does not.
I would like this functionality to be implemented by the developers/community.
- Dominant language
- C++
- Stars
- 145
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/process
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in boostorg/process
Similar issues
-
bug build
Difficulty 1/5 Under an hour Newbie friendliness 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Openfuzz
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ClickHouse/ClickHouse#122114 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
module/agent platform/macos type/bug/regression
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement PyCDE
Difficulty 2/5 1-3 hours Newbie friendliness 78/100