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.
Web リンクを開く cygwin プログラムを作成しています。このコードは機能しません:
system("cygstart \"http://www.mysite.com\"");
Cygstart はコマンド ラインから機能しますが、system() 内では機能しません。どうすればいいですか?
フルパスで cygstart コマンドを参照する必要がある場合があります。例えば:
system("/usr/bin/cygstart.exe \"http://www.mysite.com\"");
編集: cygwin パスの代わりに完全な Windows パスを使用する必要がある場合もあります。