繁体   English   中英

使用shark启动带有参数和配置文件的过程

[英]Launching a process with arguments and profile with shark

我需要使用shark采样一个(cli)应用程序,并将参数传递给它,如下所示:

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

我该如何用shark做这件事? Shark假定我需要传递给启动的cli应用程序的参数是针对shark本身的,而不是针对过程的。

这不是“程序的参数”,而是外壳程序管道。 您可能需要使用括号来清楚说明应该按照什么顺序发生,例如

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

我没有接触鲨鱼的权限,因此无法验证。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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