Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    [java] processo in background

    Ciao ragazzi...
    Ho il seguente codice:

    Runtime runTime = Runtime.getRuntime();
    Process process = runTime.exec ("c:\file.exe");

    Il codice lancia il file.exe ma vorrei che fosse eseguito in background... è possibile?


    Grazie!

  2. #2
    Utente di HTML.it
    Registrato dal
    Aug 2002
    Messaggi
    8,013
    non so... penso si possa solo se il programma che vai a lanciare abbia un opzione per girare in background.
    <´¯)(¯`¤._)(¯`»ANDREA«´¯)(_.¤´¯)(¯`>
    "The answer to your question is: welcome to tomorrow"

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.