Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/reference/environment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

=== `environment`

The `environment` header provides facilities to maniuplate the current environment and set it for new processes.
The `environment` header provides facilities to manipulate the current environment and set it for new processes.


An environment is a a `range` of `T` fulfilling these requirements:
Expand All @@ -22,7 +22,7 @@ namespace environment
// A char traits type that reflects the OS rules for string representing environment keys.
/* Can be an alias of std::char_traits. May only be defined for `char` and `wchar_t`.
*
* Windows treats keys as case-insensitive yet perserving. The char traits are made to reflect
* Windows treats keys as case-insensitive yet preserving. The char traits are made to reflect
* that behaviour.
*/
template<typename Char>
Expand Down
2 changes: 1 addition & 1 deletion doc/version2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The major changes are
* separate compilation
* fd safe by default

Version 2 is now the defauled. In order to discourage usage of the deprecated v1, it's documentation has been removed.
Version 2 is now the default. In order to discourage usage of the deprecated v1, it's documentation has been removed.

== Simplified Interface

Expand Down
2 changes: 1 addition & 1 deletion include/boost/process/v1/async.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ io_context ios;
child c("ls", ios, on_exit=[](int exit, const std::error_code& ec_in){});

std::future<int> exit_code;
chlid c2("ls", ios, on_exit=exit_code);
child c2("ls", ios, on_exit=exit_code);

\endcode

Expand Down
2 changes: 1 addition & 1 deletion include/boost/process/v1/async_pipe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace boost { namespace process { BOOST_PROCESS_V1_INLINE namespace v1 {
#if defined(BOOST_PROCESS_DOXYGEN)


/** Class implementing an asnychronous I/O-Object for use with boost.asio.
/** Class implementing an asynchronous I/O-Object for use with boost.asio.
* It is based on the corresponding I/O Object, that is either boost::asio::windows::stream_handle or
* boost::asio::posix::stream_descriptor.
*
Expand Down
2 changes: 1 addition & 1 deletion include/boost/process/v1/child.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class child
/** Same as valid, for convenience. */
explicit operator bool() const;

/** Check if the the chlid process is in any process group. */
/** Check if the the child process is in any process group. */
bool in_group() const;

/** \overload bool in_group() const */
Expand Down
2 changes: 1 addition & 1 deletion include/boost/process/v2/environment.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace environment
/// A char traits type that reflects the OS rules for string representing environment keys.
/** Can be an alias of std::char_traits. May only be defined for `char` and `wchar_t`.
*
* Windows treats keys as case-insensitive yet perserving. The char traits are made to reflect
* Windows treats keys as case-insensitive yet preserving. The char traits are made to reflect
* that behaviour.
*/
template<typename Char>
Expand Down
2 changes: 1 addition & 1 deletion test/v2/target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int main(int argc, char * argv[])
{
if (kind == CTRL_CLOSE_EVENT)
{
// windows doesn't like us doing antyhing else
// windows doesn't like us doing anything else
::exit(0);
if (tim_p != nullptr)
tim_p->cancel();
Expand Down
Loading