프밍세상

  • 홈
  • 태그
  • 방명록

터미널 1

Go언어 Windows 10 cmd창 숨기기

애플리케이션을 빌드하고 exe파일을 실행할때 검은색 화면과 함께 새 windows창이 뜨는것을 볼 수 있다. 이러한 CMD 창을 숨기기 위한 코드는 아래와 같다. package main import ( "fmt" "github.com/gonutz/w32" ) func main() { hideConsole() command() // command 명령함수 호출 (생략) } func hideConsole() { console := w32.GetConsoleWindow() if console == 0 { return // no console attached } _, consoleProcID := w32.GetWindowThreadProcessId(console) if w32.GetCurrentProcessId..

카테고리 없음 2021.07.19
1
더보기
프로필사진

  • 분류 전체보기 (35) N
    • Programming (19)
      • C (0)
      • C++ (0)
      • JAVA (0)
      • Python (8)
      • Go (11)
    • OS (1)
      • LINUX (0)
      • WINDOWS (1)
    • DB (0)
    • Web (2)
      • Node.js (2)
    • Algorithm (0)
      • leetcode (0)
    • 디자인패턴 (2)
    • 유틸리티 (1)

Tag

노드JS, 맵, 디자인 패턴, 노드js route, Python, 고언어, admin, CMD, 명령어, golang, go언어, 사용법, 리스트, go, python3, map, 자바, 파이썬, 소켓, 프밍세상,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • Rubi

티스토리툴바