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
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>
I don’t see anything about logical operators there.