mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-13 19:10:39 +00:00
30 lines
588 B
Swift
30 lines
588 B
Swift
import Foundation
|
|
|
|
enum ExecEnvOptions {
|
|
static let withValue = Set([
|
|
"-u",
|
|
"--unset",
|
|
"-c",
|
|
"--chdir",
|
|
"-s",
|
|
"--split-string",
|
|
"--default-signal",
|
|
"--ignore-signal",
|
|
"--block-signal",
|
|
])
|
|
|
|
static let flagOnly = Set(["-i", "--ignore-environment", "-0", "--null"])
|
|
|
|
static let inlineValuePrefixes = [
|
|
"-u",
|
|
"-c",
|
|
"-s",
|
|
"--unset=",
|
|
"--chdir=",
|
|
"--split-string=",
|
|
"--default-signal=",
|
|
"--ignore-signal=",
|
|
"--block-signal=",
|
|
]
|
|
}
|