Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows Version] Two program windows pop up #327

Open
BrianBlowtasky opened this issue Mar 16, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@BrianBlowtasky
Copy link

commented Mar 16, 2018

When double clicking the executable, the command prompt opens up as well as the main program.
It seems the fix to this problem is to use pythonw.exe to run your script instead of python.exe.

@gedakc

This comment has been minimized.

Copy link
Collaborator

commented Jan 11, 2019

This issue is related to PyInstaller packaging.

The command prompt window contains the program debug output. The open window makes it easier for users to report issues and copy and paste this output into the issue. This is useful while we work to improve the functionality and stability of Manuskript.

When Manuskript is more stable we can look into different packaging options for Windows.

A user reported the following Windows 10 workaround:

If you’re on Windows 10 you can create a new Desktop Workspace and put Manuskript’s command prompt in to hide it.

Press “Windows Key + Tab” (A Windows Key is between CTRL and ALT at the bottom left on a keyboard) => Hover your mouse cursor over the Manuskript command prompt then “Right Click” => Select “Move to” from the popup context menu => Select “New Desktop”.

This will create a Desktop 2 workspace and move Manuskript’s command prompt there.

You can switch between your Desktop workspaces by pressing “CTRL + Windows Key + Left/Right Arrow”.

Read more about Windows workspace shortcuts online. =)

@sprite-1

This comment has been minimized.

Copy link

commented Jan 12, 2019

I made a simple launcher that you just put in the Manuskript directory. It will automatically hide the console window when the main program is open.

Source -- Compiled Binary (32 and 64-bit compatible):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.