Skip to content

Commit

Permalink
Documentation: Change macOS Ladybird command to launch in the foreground
Browse files Browse the repository at this point in the history
Also add flags to direct stdout/stderr to the terminal, and show how to
pass arguments to the browser.
  • Loading branch information
trflynn89 authored and awesomekling committed Nov 17, 2023
1 parent 72e5b10 commit 08572d4
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Documentation/BuildInstructionsLadybird.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,19 @@ To automatically run in gdb:
ninja -C Build/ladybird debug
```

To run without ninja rule:
To run without ninja rule on non-macOS systems:
```
export SERENITY_SOURCE_DIR=$(realpath ../)
./Build/ladybird/bin/Ladybird # or, in macOS: open ./Build/ladybird/bin/Ladybird.app
./Build/ladybird/bin/Ladybird
```

To run without ninja rule on macOS:
```
export SERENITY_SOURCE_DIR=$(realpath ../)
open -W --stdout $(tty) --stderr $(tty) ./Build/ladybird/bin/Ladybird.app
# Or to launch with arguments:
open -W --stdout $(tty) --stderr $(tty) ./Build/ladybird/bin/Ladybird.app --args https://ladybird.dev
```

### Debugging with CLion
Expand Down

0 comments on commit 08572d4

Please sign in to comment.