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

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현