Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8643405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:01:39+00:00 2026-06-12T12:01:39+00:00

In my setup.py I have defined an entry point like this: entry_points={ ‘console_scripts’ :

  • 0

In my setup.py I have defined an entry point like this:

entry_points={
      'console_scripts' : [
            'cofo = cofo:gui_main'
      ]
},

Calling python setup.py develop generates the cofo script as expected. But gui_main starts a wxWindows application and I would like to “free” the console afterwards. How can I do that? If I use gui_scripts instead of console_scripts it does not make a difference.

Update:

With “free” the console, I mean that I would like to start the script from the command prompt (i.e. passing command line arguments to it), but would like to have the command prompt available after the gui has started. Something like this:

Last login: Mon Oct  8 15:34:28 on ttys002
localhost:~ domma$ cofo some arguments
... gui starts and after that ...
localhost:~ domma$ 

At the moment I don’t get a waiting prompt, because the script is running and “blocking” the command line. My primary plattform is OS X, but I would be interested in a general solution.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T12:01:40+00:00Added an answer on June 12, 2026 at 12:01 pm

    With linux/unix (including Mac OS X) shells, you can run a command, and tell it to go to the background by suffixing it with “&”. eg:

    $ cofo some arguments &
    

    Here is a page with some extra info on this: http://www.bsdguides.org/guides/netbsd/beginners/job_control/print

    I would recommend just manaully using that/educating your users to use that (if they are already using the a cli, then that is not alot extra to ask.) If you really want your command to go the the background by default, you can wrap your script with a small bash script that uses the above mentioned method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a Setup Project for my Project. This project connects to a
Setup I have a few questions about the default argument promotions when calling a
I would like to access beans that i have defined in /WEB-INF/springws-servlet.xml from within
I have defined many views doing 'manual' ajax processing like: @require_POST def do_something(request, ...)
I have this setup to add a mouseenter event to each of my DIVs:
I have the following setup: class.staff.php This defines many variables, the one I'm working
I have defined a few Custom Actions in my WIX setup, and these actions
I have defined a .dir-locals.el file with the following content: ((python-mode . ((cr/virtualenv-name .
Lets say I have model inheritance set up in the way defined below. class
Setup: I have a COM DLL that calls a method inside a managed C#

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.