ARGS in REPL (customize or remove)

Then I start REPL I already see ARGS populated

julia> ARGS
4-element Array{String,1}:
 "\\\\.\\pipe\\vsc-julia-repl-23904"
 "\\\\.\\pipe\\vsc-jl-cr-23904"
 "USE_REVISE"
 "USE_PLOTPANE"

The questions are:

  1. is there a way to customize those ARGS?
  2. and how important are those 4 (can I delete those)?

The code I run actually does rely on ARGS being passed or at least the ones passed be relevant (which above are not, they look like something vscode/julia specific).

You can remove them. The next release won’t leak the extension’s internals into use code anymore (see here).

2 Likes

Hi, I just ran into the same thing trying to run a previous dual Atom/bash script that uses ArgParse.jl – it’s pretty unhappy with additional content:

julia> ARGS
3-element Array{String,1}:
 "/tmp/vsc-julia-repl-952"
 "/tmp/vsc-jl-cr-952"
 "USE_REVISE"

Thanks for fixing @pfitzseb!