Maybe * concatenation should be implemented for Cmd like it is for strings, not sure why it isn't. But you can do interpolation:
julia> a = `echo`; b = `hello`; c = `world`; julia> `$a $b $c` `echo hello world` julia> run(`$a $b $c`) hello world On Sunday, April 26, 2015 at 8:23:47 PM UTC-7, Yakir Gagnon wrote: > > I'm using Julia to build a imagemagick command (for a complicated gif). > I'm using a for loop to build the many frames for the gif. This means I end > up with an Array of Cmds where the first element is some header (i.e. > `convert -delay 1 -size $(w)x$h xc:black -antialias`), then come the > frames, and last some closing stuff. > I wish I then could just join the commands and run it. But join doesn't > work on the Cmd type. > > How can I build a Cmd from many parts? > > Thanks! >
