• # ça ne t'aidera pas beaucoup, mais..

    Posté par . En réponse au message Ouvrir l'éditeur par défaut dans une console. Évalué à 3.

    La Javadoc dit sur les objets Process :

    "The Runtime.exec methods may not work well for special processes on certain native platforms, such as native windowing processes, daemon processes, Win16/DOS processes on Microsoft Windows, or shell scripts. The created subprocess does not have its own terminal or console. All its standard io (i.e. stdin, stdout, stderr) operations will be redirected to the parent process through three streams (Process.getOutputStream(), Process.getInputStream(), Process.getErrorStream()). The parent process uses these streams to feed input to and get output from the subprocess."

    Il faudrait trouver un moyen de conserver le terminal du processus java, et je ne sais pas si c'est possible ou non.