You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/CodeEditKit/Targets/Target.swift
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,9 @@ public struct Target: Identifiable {
17
17
* - Parameter executable: The executable to launch inside the pseudo terminal
18
18
* - Parameter args: an array of strings that is passed as the arguments to the underlying process
19
19
* - Parameter environment: an array of environment variables to pass to the child process.
20
-
* - Parameter execName: If provided, this is used as the Unix argv[0] parameter, otherwise, the executable is used as the args [0], this is used when the intent is to set a different process name than the file that backs it.
20
+
* - Parameter execName: If provided, this is used as the Unix argv[0] parameter, otherwise,
21
+
* the executable is used as the args [0], this is used when the intent is to set a different process name
22
+
* than the file that backs it.
21
23
*/
22
24
publicinit(id:String, displayName:String,
23
25
executable:String, args:[String]=[],
@@ -45,6 +47,8 @@ public struct Target: Identifiable {
45
47
/// ``environment`` is an array of environment variables to pass to the child process.
46
48
publicvarenvironment:[String]?
47
49
48
-
/// ``execName`` If provided, this is used as the Unix argv[0] parameter, otherwise, the executable is used as the args [0], this is used when the intent is to set a different process name than the file that backs it.
50
+
/// ``execName`` If provided, this is used as the Unix argv[0] parameter, otherwise,
51
+
/// the executable is used as the args [0], this is used when the intent is to set a different
0 commit comments