setsid 用於在新會話中運行程序。
基本用法 詳細用法
setsid --helps
基本語法
setsid [options] <program> [arguments ...]
options
| 參數 | EN 解釋 | 中文翻譯 | 備注 |
|---|---|---|---|
| -c, --ctty | set the controlling terminal to the current one | 將控製終端設為當前終端 | |
| -w, --wait | wait program to exit, and use the same return | 等待程序退齣,並使用相同返迴 | |
| -h, --help | display this help and exit | 顯示此幫助並退齣 | |
| -V, --version | output version information and exit | 輸齣版本信息並退齣 |
| 功能 | 命令 | 文字解釋 | 示例 | 示例解釋 |
|---|---|---|---|---|
| 幫助 | setsid -h | 展示幫助信息 | ||
| setsid --help | ||||
| 版本 | setsid -V | 展示版本信息 | ||
| setsid --version |
版權聲明: 本文為獨傢原創稿件,版權歸 樂數軟件 ,未經許可不得轉載。