@vicinae/api
    Preparing search index...

    Function runInTerminal

    • Run a command in a new terminal emulator window.

      Parameters

      • args: string[]

        the command line to execute. This is not getting interpreted by a shell.

      • options: RunInTerminalOptions = {}

        list of options that can be passed in order to tweak the behavior of the terminal window.

      Returns Promise<void>

      await runInTerminal(['journalctl', '--user', '-u', '-f', 'vicinae']);
      // or, inside a shell:
      await runInTerminal(['/bin/bash', 'echo "dis is my home: $HOME"'], { hold: true });