setsid 用于在新会话中运行程序。
Basic Usage Detailed Usage
setsid --helps
基本语法
setsid [options] <program> [arguments ...]
options
| 参数 | EN 解释 | 中文翻译 | Remark |
|---|---|---|---|
| -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 | 输出版本信息并退出 |
| Function | 命令 | 文字解释 | 示例 | 示例解释 |
|---|---|---|---|---|
| 帮助 | setsid -h | 展示帮助信息 | ||
| setsid --help | ||||
| Version | setsid -V | 展示版本信息 | ||
| setsid --version |
Copyright Notice: This article is an exclusive original manuscript, copyright belongs to Happy Digits Software , shall not be reproduced without permission.