gysiang / minishell

0 stars 1 forks source link

echo hi > no_permission | echo hi #248

Closed gysiang closed 4 months ago

gysiang commented 4 months ago

minishell$ echo hi > no_permission.txt | echo bye minishell: no_permission.txt: Permission denied bye ==1781449== ==1781449== FILE DESCRIPTORS: 3 open (3 std) at exit. ==1781449== ==1781449== HEAP SUMMARY: ==1781449== in use at exit: 204,226 bytes in 222 blocks ==1781449== total heap usage: 563 allocs, 341 frees, 231,162 bytes allocated ==1781449== ==1781449== LEAK SUMMARY: ==1781449== definitely lost: 0 bytes in 0 blocks ==1781449== indirectly lost: 0 bytes in 0 blocks ==1781449== possibly lost: 0 bytes in 0 blocks ==1781449== still reachable: 0 bytes in 0 blocks ==1781449== suppressed: 204,226 bytes in 222 blocks ==1781449== ==1781449== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) --1781449-- --1781449-- used_suppression: 63 leak readline ./readline.supp:2 suppressed: 204,226 bytes in 222 blocks ==1781449== ==1781449== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==1781450== ==1781450== FILE DESCRIPTORS: 3 open (3 std) at exit. ==1781450== ==1781450== HEAP SUMMARY: ==1781450== in use at exit: 204,226 bytes in 222 blocks ==1781450== total heap usage: 558 allocs, 336 frees, 231,024 bytes allocated ==1781450== ==1781450== LEAK SUMMARY: ==1781450== definitely lost: 0 bytes in 0 blocks ==1781450== indirectly lost: 0 bytes in 0 blocks ==1781450== possibly lost: 0 bytes in 0 blocks ==1781450== still reachable: 0 bytes in 0 blocks ==1781450== suppressed: 204,226 bytes in 222 blocks ==1781450== ==1781450== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) --1781450-- --1781450-- used_suppression: 63 leak readline ./readline.supp:2 suppressed: 204,226 bytes in 222 blocks ==1781450==

gysiang commented 4 months ago

143/146