Retourner au contenu associé (entrée de forum : Authentification pour une commande exécutée dans un exec())
Posté par JaguarWan le 28 juin 2006 à 03:08. En réponse au message Authentification pour une commande exécutée dans un exec(). Évalué à 2.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: stdin
Posté par JaguarWan . En réponse au message Authentification pour une commande exécutée dans un exec(). Évalué à 2.
FILE *s1 = popen("command", "r");
=
Process process = Runtime.getRuntime().exec("command");
BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
Y a pas à dire c'est verbeux le Java :)