tools
読み取り中…
検索中…
一致する文字列を見つけられません
proc 名前空間

プロセス操作用名前空間 [詳解]

関数

int start (const std::string app, std::string arg="", const bool wait=false, const std::string &cd="")
 外部アプリケーションを起動する(ANSI ビルド版)

詳解

プロセス操作用名前空間

関数詳解

◆ start()

int proc::start ( const std::string app,
std::string arg = "",
const bool wait = false,
const std::string & cd = "" )
inline

外部アプリケーションを起動する(ANSI ビルド版)

引数
app起動するアプリケーションのパス
argコマンドライン引数(デフォルト: 空文字列)
waitプロセスの終了を待つか(デフォルト: false)
cd起動時のカレントディレクトリ(デフォルト: 空文字列 = 親と同じ)
戻り値
wait=true の場合は終了コード、wait=false の場合は 0
例外
std::runtime_error起動失敗または終了コード取得失敗時

proc.h76 行目に定義があります。

被呼び出し関係図: