| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/vixcpp/process/main/examples/basic_spawn.cpp | [Back] [Original] |
/**
*
* @file basic_spawn.cpp
* @author Gaspard Kirira
*
* Copyright 2026, Gaspard Kirira.
* All rights reserved.
* https://github.com/vixcpp/vix
*
* Use of this source code is governed by a MIT license
* that can be found in the License file.
*
* Vix.cpp
*
*/
#include
#include
int main()
{
vix::process::Command command("echo");
command.arg("hello from vix::process");
auto result = vix::process::spawn(command);
if (!result)
{
std::cerr
| Web Proxy Viewer | New URL | Original Page |