On run(`export`) vs ;export

I would like to run the command export in shell mode, and it works in the REPL if I run ;export, but I need to have this inside my code so after doing research I thought it would be run(export), export inside backtick, but it doesn’t work. My question is, if ]add is equivalent to Pkg.add, what about ;export?

See the difference in the screenshot below:

It’s something like

run(`sh -c export`)
1 Like