ฉันกำลังพยายามเรียกใช้คำสั่ง git ด้านล่างโดยใช้โปรแกรมจาวาบน windows
git --git-dir D:\code_coverage\.git blame 'src/RunCodeCoverage.java'
| grep e4ecfbe | awk '{print $7}'
มันทำให้ฉันมีข้อผิดพลาด:
fatal: cannot stat path '$7}'': No such file or directory
ขณะรันคำสั่งนี้จาก command prompt มันจะให้ผลลัพธ์ตามที่ต้องการ
กรุณาช่วย!