c++: system("bash_command") produces a BASH error - but command works directly from BASH – stackoverflow.com

I am trying to run the following bash command from my c++ program: diff <(cat /etc/passwd) <(ls -l /etc) with the following c++ statement: system("diff <(cat /etc/passwd) <(ls -l ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "c++: system("bash_command") produces a BASH error - but command works directly from BASH – stackoverflow.com"