简体   繁体   中英

Launching a process with arguments and profile with shark

I need to sample a (cli) application with shark and pass parameters to it like so:

shortest-path <input-ref-littleendian|diff -u - output-ref

How can I do this with shark ? Shark assumes that the parameters i need to pass to the launched cli app are for shark itself, not the process.

That's not "parameters to a program", that's a shell pipeline. You might need to use parenthesis to make it clear in which order things should happen, eg perhaps something like

$ shark ( shortest-path < input-ref-littleendian | diff -u - output-ref )

I don't have access to shark so I cannot verify this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM