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