@@ -354,12 +426,21 @@ then this will default to <code>DispatchQueue.main</code></p>
</div>
</td>
</tr>
+ <tr>
+ <td>
+ <code>
+ <em>execName</em>
+ </code>
+ </td>
+ <td>
+ <div>
+ <p>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.</p>
+ </div>
+ </td>
+ </tr>
</tbody>
</table>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/LocalProcess.swift#L170-L203">Show on GitHub</a>
- </div>
</section>
</div>
</li>
@@ -406,9 +487,6 @@ then this will default to <code>DispatchQueue.main</code></p>
</tbody>
</table>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/LocalProcess.swift#L211-L214">Show on GitHub</a>
- </div>
</section>
</div>
</li>
@@ -417,8 +495,8 @@ then this will default to <code>DispatchQueue.main</code></p>
+ <p>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.</p>
+ </div>
+ </td>
+ </tr>
</tbody>
</table>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift#L126-L129">Show on GitHub</a>
- </div>
</section>
</div>
</li>
@@ -509,9 +544,6 @@
</div>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift#L134-L136">Show on GitHub</a>
- </div>
</section>
</div>
</li>
@@ -539,9 +571,6 @@
</div>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift#L141-L143">Show on GitHub</a>
- </div>
</section>
</div>
</li>
@@ -569,9 +598,6 @@
</div>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift#L148-L152">Show on GitHub</a>
@@ -354,12 +426,21 @@ then this will default to <code>DispatchQueue.main</code></p>
</div>
</td>
</tr>
+ <tr>
+ <td>
+ <code>
+ <em>execName</em>
+ </code>
+ </td>
+ <td>
+ <div>
+ <p>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.</p>
+ </div>
+ </td>
+ </tr>
</tbody>
</table>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/LocalProcess.swift#L170-L203">Show on GitHub</a>
- </div>
</section>
</div>
</li>
@@ -406,9 +487,6 @@ then this will default to <code>DispatchQueue.main</code></p>
</tbody>
</table>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/LocalProcess.swift#L211-L214">Show on GitHub</a>
- </div>
</section>
</div>
</li>
@@ -417,8 +495,8 @@ then this will default to <code>DispatchQueue.main</code></p>
+ <p>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.</p>
+ </div>
+ </td>
+ </tr>
</tbody>
</table>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift#L126-L129">Show on GitHub</a>
- </div>
</section>
</div>
</li>
@@ -509,9 +544,6 @@
</div>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift#L134-L136">Show on GitHub</a>
- </div>
</section>
</div>
</li>
@@ -539,9 +571,6 @@
</div>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift#L141-L143">Show on GitHub</a>
- </div>
</section>
</div>
</li>
@@ -569,9 +598,6 @@
</div>
</div>
- <div class="slightly-smaller">
- <a href="https://github.com/migueldeicaza/SwiftTerm/tree/master/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift#L148-L152">Show on GitHub</a>
-<li><a href="https://vt100.net/emu/dec_ansi_parser">A parser for DEC’s ANSI-compatible video terminals</a></li>
-<li><a href="https://vt100.net/emu/">Codes and Standards</a></li>
-<li><a href="http://man7.org/linux/man-pages/man4/console_codes.4.html">Linux Console Docs</a> they are a subset of vt100, but often simple to follow.</li>
-<li><a href="https://invisible-island.net/vttest/">VTTest</a> - old, but still good</li>
-<li><a href="https://gitlab.freedesktop.org/terminal-wg/esctest">EscTest</a> - fantastic: George Nachman, the author of iTerm, created this test suite, and it became a FreeDesktop standard. Since then, Thomas E. Dickey, the xterm maintainer and maintainer of many text apps has contributed to this effort.</li>
-<li>Thanks go to the <a href="https://xtermjs.org/">xterm.js</a> developers that originally wrote a terminal emulator
-that was licensed under a licenze that allowed for maximum reuse.<br></li>
-<li><a href="https://krzyzanowskim.com">Marcin Krzyzanowski</a> who masterfully improved and curated the rendering engine on AppKit/CoreText to be the glorious renderer that it is today - and for his contributions to the rendering engine</li>
-<li>Greg Munn that did a lot of work in XtermSharp to support the needs of Visual Studio for
-Mac</li>
-<li><a href="https://tirania.org/">Miguel de Icaza</a> -me- who have been looking for an excuse to write some Swift code.</li>
-<li><a href="https://vt100.net/emu/dec_ansi_parser">A parser for DEC’s ANSI-compatible video terminals</a></li>
-<li><a href="https://vt100.net/emu/">Codes and Standards</a></li>
-<li><a href="http://man7.org/linux/man-pages/man4/console_codes.4.html">Linux Console Docs</a> they are a subset of vt100, but often simple to follow.</li>
-<li><a href="https://invisible-island.net/vttest/">VTTest</a> - old, but still good</li>
-<li><a href="https://gitlab.freedesktop.org/terminal-wg/esctest">EscTest</a> - fantastic: George Nachman, the author of iTerm, created this test suite, and it became a FreeDesktop standard. Since then, Thomas E. Dickey, the xterm maintainer and maintainer of many text apps has contributed to this effort.</li>
-<li>Thanks go to the <a href="https://xtermjs.org/">xterm.js</a> developers that originally wrote a terminal emulator
-that was licensed under a licenze that allowed for maximum reuse.<br></li>
-<li><a href="https://krzyzanowskim.com">Marcin Krzyzanowski</a> who masterfully improved and curated the rendering engine on AppKit/CoreText to be the glorious renderer that it is today - and for his contributions to the rendering engine</li>
-<li>Greg Munn that did a lot of work in XtermSharp to support the needs of Visual Studio for
-Mac</li>
-<li><a href="https://tirania.org/">Miguel de Icaza</a> -me- who have been looking for an excuse to write some Swift code.</li>