Skip to content

Commit

Permalink
Explain that detached option doesn't block current process also. (#459)
Browse files Browse the repository at this point in the history
* Recommend using `@async notebook`

* Update README.md

Explain that the detached option does not block the current process
  • Loading branch information
Ismael-VC authored and stevengj committed Sep 11, 2016
1 parent 8602384 commit 1b1cf6f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ notebook()
to launch the IJulia notebook in your browser. You can
use `notebook(detached=true)` to launch a notebook server
in the background that will persist even when you quit Julia.
This is also useful if you want to keep using the current Julia
session instead of opening a new one.

```julia
julia> using IJulia; notebook(detached=true)
Process(`'C:\Users\JuliaUser\.julia\v0.4\Conda\deps\usr\Scripts\jupyter' notebook`, ProcessRunning)

julia>
```

By default, the notebook "dashboard" opens in your
home directory (`homedir()`), but you can open the dashboard
in a different directory with `notebook(dir="/some/path")`.
Expand Down

0 comments on commit 1b1cf6f

Please sign in to comment.