# How can I get rid of the command promt window presented with my SwiftWin32 app?

**URL:** <https://forums.swift.org/t/how-can-i-get-rid-of-the-command-promt-window-presented-with-my-swiftwin32-app/49040>\
**Category:** Related Projects\
**Tags:** windows\
**Created:** [May 29, 2021, 10:54pm UTC](https://forums.swift.org/t/how-can-i-get-rid-of-the-command-promt-window-presented-with-my-swiftwin32-app/49040 "2021-05-29T22:54:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![h4cky](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/h4cky/32/17738_2.png) [@h4cky](https://forums.swift.org/u/h4cky)\
**Post date:** [May 29, 2021, 10:54pm UTC](https://forums.swift.org/t/how-can-i-get-rid-of-the-command-promt-window-presented-with-my-swiftwin32-app/49040/1 "2021-05-29T22:54:24Z")

</div>

Hello everyone!

I have checked out [swift-win32-application](https://github.com/compnerd/swift-win32-application) as a base and after successful build when i launch manually my executable it is presented as it should, however there is also instance of cmd.exe presented on the screen as you can see in the image below:

![swiftwin32+cmd](https://global.discourse-cdn.com/swift/original/3X/1/8/1874057cde350119a7bededbd037df1a3dbf7f18.png)

So my question is how i can get rid of that instance of cmd.exe?

Thanks in advance!

Regards,  
h4cky

---

<div class="post-metadata">

**Author:** ![compnerd](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/compnerd/32/2165_2.png) [@compnerd](https://forums.swift.org/u/compnerd)\
**Post date:** [May 30, 2021, 3:57am UTC](https://forums.swift.org/t/how-can-i-get-rid-of-the-command-promt-window-presented-with-my-swiftwin32-app/49040/2 "2021-05-30T03:57:56Z")

</div>

Hi!

Similar to how application development for Apple platforms is generally discouraged from being a general support topic on the Swift forums, I think we should be respectful and do the same for this as this seems related to the use of the particular framework rather than a general swift thing. In this case, I think that it would be better to have the discussion at [GitHub - compnerd/swift-win32: A Windows application framework for Swift](https://github.com/compnerd/swift-win32).

(I’ll note that this really seems like a bug and I’d really like to understand what’s going on)

---

<div class="post-metadata">

**Author:** ![h4cky](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/h4cky/32/17738_2.png) [@h4cky](https://forums.swift.org/u/h4cky)\
**Post date:** [May 30, 2021, 10:18am UTC](https://forums.swift.org/t/how-can-i-get-rid-of-the-command-promt-window-presented-with-my-swiftwin32-app/49040/3 "2021-05-30T10:18:29Z")

</div>

Okay, thanks! Moving there.
