Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
システム コマンド (シェル コマンド) を呼び出して、C プログラムでその結果を取得する関数を見つけようとしています。system のような関数しか見つかりませんでしたが、これらはコマンドの結果を返しません。
私は perl でそれを知っています: my $results = ``my shell command` ;
ありがとう!