Ciao, il perl a me piace molto la funzione delle Win32 API:
In questo modo non si vedrà tranne che dal taskmenager.codice:use Win32::API; Win32::API->Import("kernel32.dll", 'HWND GetConsoleWindow()' ) || die; Win32::API->Import("user32.dll", 'BOOL ShowWindow( HWND hWnd, int iCommand )' ) || die; $hWnd = GetConsoleWindow(); sleep 3;#Aspetta tre secondi ShowWindow($hWnd,0x00 );#Nasconde la finestra sleep 3;#aspetta tre secondi ShowWindow($hWnd,0x04 );#Mostra la finestra sleep 3; print "cia"; $ciao=<stdin>;
Ciao

Rispondi quotando