>>>>> On Wed, 3 Feb 2016 11:03:07 -0800 (PST), <[email protected]> said:
> I'd like to get some information from running the `osascript` command on > MacOS X, For example: > julia> run(`osascript -e "display dialog \"Character\" default answer > \"#\""`) > button returned:OK, text returned:# > julia> typeof(ans) > Void > I tried to use `readall` to read the result that's printed/returned, but no > luck. > julia> readall(run(`osascript -e "display dialog \"Character\" default > answer \"#\""`)) > button returned:OK, text returned:# > ERROR: MethodError: `readall` has no method matching readall(::Void) > Anyone know of a trick to get information back from this process? Leave out the run. julia> x = readall(`osascript -e "display dialog \"Character\" default answer \"#\""`) I think this is going to change a little in 0.5.
