On Wed, Oct 7, 2015 at 8:20 AM, Matej Krejci <matejkre...@gmail.com> wrote:
> Hello,

I don't see the error you get

>
> I am trying to build a string and run it by standard function run().
> args=AbstractString[]

The line above is useless

> args=["arg1","arg2"]
> jargs=join(args," ")

You don't join all the arguments with " "

> path="/grass_trunk/general/g.parser"
> run(`$path $jargs`)
>

instead, try `run(`$path $(args...)`)`

>
> ERROR: LoadError: TypeError: anonymous: in new, expected Function, got
> ASCIIString
>  [inlined code] from test.jl:59
>  in anonymous at no file:58
>  in include at ./boot.jl:261
>  in include_from_node1 at ./loading.jl:304
>  in process_options at ./client.jl:275
>  in _start at ./client.jl:375
> I cannot figure out how to convert ASCIIString to Cmd and execute it by
> run() standard function.
>
> thanks for any idea
> best
> Matej

Reply via email to