Do not show console with .exe created by PyinstallerHow do I hide the console when I use os.system() or subprocess.call()?How can I safely create a nested directory in Python?How can I get the application's path in a .NET console application?Node.js: printing to console without a trailing newline?Colors in JavaScript consolePyInstaller and pykeyboard aren't working togetherIssues importing dateutil when using PyInstallerCreate an executable from Selenium Python for IE with PyinstallerPyInstaller issue with creating working executableHow do you resolve 'hidden imports not found!' warnings in pyinstaller for scipy?pyinstaller still opening console despite using recommended methods to stop this

How easy is it to start Magic from scratch?

Increase performance creating Mandelbrot set in python

What is the best translation for "slot" in the context of multiplayer video games?

How to pronounce the slash sign

Applicability of Single Responsibility Principle

Go Pregnant or Go Home

How does the UK government determine the size of a mandate?

Short story about space worker geeks who zone out by 'listening' to radiation from stars

How to check is there any negative term in a large list?

Was Spock the First Vulcan in Starfleet?

What does "I’d sit this one out, Cap," imply or mean in the context?

Why are there no referendums in the US?

How do I find the solutions of the following equation?

Arithmetic mean geometric mean inequality unclear

Where does the Z80 processor start executing from?

How do I rename a Linux host without needing to reboot for the rename to take effect?

Proof of work - lottery approach

What happens if you roll doubles 3 times then land on "Go to jail?"

Two monoidal structures and copowering

Is HostGator storing my password in plaintext?

How did Arya survive the stabbing?

Different result between scanning in Epson's "color negative film" mode and scanning in positive -> invert curve in post?

What can we do to stop prior company from asking us questions?

How does it work when somebody invests in my business?



Do not show console with .exe created by Pyinstaller


How do I hide the console when I use os.system() or subprocess.call()?How can I safely create a nested directory in Python?How can I get the application's path in a .NET console application?Node.js: printing to console without a trailing newline?Colors in JavaScript consolePyInstaller and pykeyboard aren't working togetherIssues importing dateutil when using PyInstallerCreate an executable from Selenium Python for IE with PyinstallerPyInstaller issue with creating working executableHow do you resolve 'hidden imports not found!' warnings in pyinstaller for scipy?pyinstaller still opening console despite using recommended methods to stop this













0















I want to create a very simple .exe which runs another .exe that exist on a shared server. The reason for this is so I can update the .exe on the server without having the users having to update their app. I hope that makes sense..



Anyway, I can't seem to figure out how to get rid of the console that pops up.
The script that calls the program on the server is just:



import os
os.system('U:/.../Program.exe')


And I create both .exe by running:



pyinstaller -w -F -i image.ico name.py 


(-w should remove console)



I've also tried:



pyinstaller -w -F -i image.ico --noconsole name.py


without success.



Any help is greatly appreciated!










share|improve this question


























    0















    I want to create a very simple .exe which runs another .exe that exist on a shared server. The reason for this is so I can update the .exe on the server without having the users having to update their app. I hope that makes sense..



    Anyway, I can't seem to figure out how to get rid of the console that pops up.
    The script that calls the program on the server is just:



    import os
    os.system('U:/.../Program.exe')


    And I create both .exe by running:



    pyinstaller -w -F -i image.ico name.py 


    (-w should remove console)



    I've also tried:



    pyinstaller -w -F -i image.ico --noconsole name.py


    without success.



    Any help is greatly appreciated!










    share|improve this question
























      0












      0








      0


      1






      I want to create a very simple .exe which runs another .exe that exist on a shared server. The reason for this is so I can update the .exe on the server without having the users having to update their app. I hope that makes sense..



      Anyway, I can't seem to figure out how to get rid of the console that pops up.
      The script that calls the program on the server is just:



      import os
      os.system('U:/.../Program.exe')


      And I create both .exe by running:



      pyinstaller -w -F -i image.ico name.py 


      (-w should remove console)



      I've also tried:



      pyinstaller -w -F -i image.ico --noconsole name.py


      without success.



      Any help is greatly appreciated!










      share|improve this question














      I want to create a very simple .exe which runs another .exe that exist on a shared server. The reason for this is so I can update the .exe on the server without having the users having to update their app. I hope that makes sense..



      Anyway, I can't seem to figure out how to get rid of the console that pops up.
      The script that calls the program on the server is just:



      import os
      os.system('U:/.../Program.exe')


      And I create both .exe by running:



      pyinstaller -w -F -i image.ico name.py 


      (-w should remove console)



      I've also tried:



      pyinstaller -w -F -i image.ico --noconsole name.py


      without success.



      Any help is greatly appreciated!







      python cmd console pyinstaller






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 21 at 15:56









      Fred_AlbFred_Alb

      307




      307






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Have you tried placing the --noconsole argument to the right of the target?



          So it'd read pyinstaller -w -F -i image.ico name.py --noconsole?






          share|improve this answer








          New contributor




          Collin Farmer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















          • Just tried it, the console still pops up

            – Fred_Alb
            Mar 21 at 17:58






          • 1





            After some reading, it looks like the output is being generated by the process you're starting using your python script, the program.exe in your example, rather than the initial script. --noconsole only hides the console for the frozen script, not for all processes stemming from it. See this issue: stackoverflow.com/questions/7006238/…

            – Collin Farmer
            Mar 21 at 18:04












          • Sorry for the late reply. Thank you so much Collin for taking the time and finding that thread! It worked! I'm very grateful

            – Fred_Alb
            2 days ago










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55284478%2fdo-not-show-console-with-exe-created-by-pyinstaller%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Have you tried placing the --noconsole argument to the right of the target?



          So it'd read pyinstaller -w -F -i image.ico name.py --noconsole?






          share|improve this answer








          New contributor




          Collin Farmer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















          • Just tried it, the console still pops up

            – Fred_Alb
            Mar 21 at 17:58






          • 1





            After some reading, it looks like the output is being generated by the process you're starting using your python script, the program.exe in your example, rather than the initial script. --noconsole only hides the console for the frozen script, not for all processes stemming from it. See this issue: stackoverflow.com/questions/7006238/…

            – Collin Farmer
            Mar 21 at 18:04












          • Sorry for the late reply. Thank you so much Collin for taking the time and finding that thread! It worked! I'm very grateful

            – Fred_Alb
            2 days ago















          1














          Have you tried placing the --noconsole argument to the right of the target?



          So it'd read pyinstaller -w -F -i image.ico name.py --noconsole?






          share|improve this answer








          New contributor




          Collin Farmer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















          • Just tried it, the console still pops up

            – Fred_Alb
            Mar 21 at 17:58






          • 1





            After some reading, it looks like the output is being generated by the process you're starting using your python script, the program.exe in your example, rather than the initial script. --noconsole only hides the console for the frozen script, not for all processes stemming from it. See this issue: stackoverflow.com/questions/7006238/…

            – Collin Farmer
            Mar 21 at 18:04












          • Sorry for the late reply. Thank you so much Collin for taking the time and finding that thread! It worked! I'm very grateful

            – Fred_Alb
            2 days ago













          1












          1








          1







          Have you tried placing the --noconsole argument to the right of the target?



          So it'd read pyinstaller -w -F -i image.ico name.py --noconsole?






          share|improve this answer








          New contributor




          Collin Farmer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.










          Have you tried placing the --noconsole argument to the right of the target?



          So it'd read pyinstaller -w -F -i image.ico name.py --noconsole?







          share|improve this answer








          New contributor




          Collin Farmer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          Collin Farmer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered Mar 21 at 16:53









          Collin FarmerCollin Farmer

          362




          362




          New contributor




          Collin Farmer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          Collin Farmer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          Collin Farmer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.












          • Just tried it, the console still pops up

            – Fred_Alb
            Mar 21 at 17:58






          • 1





            After some reading, it looks like the output is being generated by the process you're starting using your python script, the program.exe in your example, rather than the initial script. --noconsole only hides the console for the frozen script, not for all processes stemming from it. See this issue: stackoverflow.com/questions/7006238/…

            – Collin Farmer
            Mar 21 at 18:04












          • Sorry for the late reply. Thank you so much Collin for taking the time and finding that thread! It worked! I'm very grateful

            – Fred_Alb
            2 days ago

















          • Just tried it, the console still pops up

            – Fred_Alb
            Mar 21 at 17:58






          • 1





            After some reading, it looks like the output is being generated by the process you're starting using your python script, the program.exe in your example, rather than the initial script. --noconsole only hides the console for the frozen script, not for all processes stemming from it. See this issue: stackoverflow.com/questions/7006238/…

            – Collin Farmer
            Mar 21 at 18:04












          • Sorry for the late reply. Thank you so much Collin for taking the time and finding that thread! It worked! I'm very grateful

            – Fred_Alb
            2 days ago
















          Just tried it, the console still pops up

          – Fred_Alb
          Mar 21 at 17:58





          Just tried it, the console still pops up

          – Fred_Alb
          Mar 21 at 17:58




          1




          1





          After some reading, it looks like the output is being generated by the process you're starting using your python script, the program.exe in your example, rather than the initial script. --noconsole only hides the console for the frozen script, not for all processes stemming from it. See this issue: stackoverflow.com/questions/7006238/…

          – Collin Farmer
          Mar 21 at 18:04






          After some reading, it looks like the output is being generated by the process you're starting using your python script, the program.exe in your example, rather than the initial script. --noconsole only hides the console for the frozen script, not for all processes stemming from it. See this issue: stackoverflow.com/questions/7006238/…

          – Collin Farmer
          Mar 21 at 18:04














          Sorry for the late reply. Thank you so much Collin for taking the time and finding that thread! It worked! I'm very grateful

          – Fred_Alb
          2 days ago





          Sorry for the late reply. Thank you so much Collin for taking the time and finding that thread! It worked! I'm very grateful

          – Fred_Alb
          2 days ago



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid …


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55284478%2fdo-not-show-console-with-exe-created-by-pyinstaller%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

          해남서초등학교 학교 연혁 학교 동문 외부 링크 둘러보기 메뉴북위 34° 34′ 21″ 동경 126° 35′ 50″ / 북위 34.5726385° 동경 126.5972670°  / 34.5726385; 126.5972670해남서초등학교eh