How to write shell && and || in julia cmd syntax?

Hi there,
I guess this is a standard question, but my google skills failed so far.

Can someone explain how to map shell’s && and || to julia’s own cmd syntax/api?
thanks

julia> success(`true`) && run(`echo wow`);
wow

julia> success(`false`) && run(`echo wow`);

julia> success(`false`) || run(`echo oh no`);
oh no

julia> success(`true`) || run(`echo oh no`);

julia>
1 Like

See also Running External Programs · The Julia Language

I don’t see anything about logical operators there.

1 Like