Hello,

I am trying to build a string and run it by standard function run(). 
args=AbstractString[]
args=["arg1","arg2"]
jargs=join(args," ")
path="/grass_trunk/general/g.parser"
run(`$path $jargs`)


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