开发者

Launching a process with arguments and profile with shark

开发者 https://www.devze.com 2023-01-30 12:32 出处:网络
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

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 开发者_Python百科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, e.g. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号