twosigma / twosigma/beakerx_kernel_groovy

How is the working directory set in Groovy script?

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2
Forks
7
PR merge metrics
No merged PRs in 30d

Description

We have an implementation of a kernel based on this one that incorporates the Micronaut framework (https://github.com/stainlessai/micronaut-jupyter). When we switch kernels from Groovy, however, the working directory changes and I can't figure out why.

Using this kernel from any path in the jupyter context, e.g., $HOME/my/working/dir, the code:
```
println new File(".").absolutePath
```
returns
```
$HOME/my/working/dir
```

How does this path get passed to the Groovy script code for running the cell?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.