You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've successfully connected to a remote process running inside of a tmux session. Everything seems to be working fine, but I get weird behavior from include. In particular, when I execute an include statement from the editor (but not the Juno REPL) the path is assumed to be relative to my local Juno working directory.
It seems to me that include should always be relative to the working directory of the julia interpreter (i.e. the output of pwd()). And it was very counterintuitive for me that the result was different when I ran in the Juno REPL vs by the "Run Block" command.
I'm thinking now that the intention is for you to open a remote file with Ftp Remote Edit, and then start the remote process. When I do this, I get the expected behavior. What I would like to do is edit my local files, but execute on a remote process. Is there a more appropriate way to accomplish this?
I'm using Juno 0.8.2
The text was updated successfully, but these errors were encountered:
As per the documentation, include is always relative to the file you execute it in. So yes, it may be counterintuitive, but we can't really do anything about that. You can however just use include(joinpath(pwd(), ...)), which should work the same in the REPL and in a file.
I've successfully connected to a remote process running inside of a tmux session. Everything seems to be working fine, but I get weird behavior from
include
. In particular, when I execute an include statement from the editor (but not the Juno REPL) the path is assumed to be relative to my local Juno working directory.It seems to me that include should always be relative to the working directory of the julia interpreter (i.e. the output of
pwd()
). And it was very counterintuitive for me that the result was different when I ran in the Juno REPL vs by the "Run Block" command.I'm thinking now that the intention is for you to open a remote file with Ftp Remote Edit, and then start the remote process. When I do this, I get the expected behavior. What I would like to do is edit my local files, but execute on a remote process. Is there a more appropriate way to accomplish this?
I'm using Juno 0.8.2
The text was updated successfully, but these errors were encountered: