0
我的脚本运行这个命令,它总是给出三个警告。有没有办法将这些过滤掉?过滤掉系统调用的警告
my $output = `cleartool mktag -view -tag test -reg win_region -host view_server1 -gpath \\\\view_server\\view_directory1\\test.vws/viewstore/view_directory1/test.vws\`
的警告是这个样子:
cleartool: warning: The global pathname "blabla" in the non-default region will not be validated
cleartool: warning: Unable to access "blabla": No such file or directory
cleartool: warning: Storage pathname "blabla" may not reside on host
我仍然希望看到其他警告或错误。这会消除一切?谢谢你的回答 – user1758367
我已经在我的答案中添加了相关建议。 –
非常感谢!我可以在2分钟内标记为答案。 – user1758367