Hide console and execute applications in background
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hiddenconsolestart
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.md
requirements.txt
setup.py

README.md

Hidden Console Start ⚙️

PyPI PyPI PyPI Build Status

Hide console and execute applications in background. HCS (Hidden Console Start) is a good alternative to simulate background process (process &) as in GNU/Linux systems.

GNU/Linux
$ ping 127.0.0.1 > log.txt &
Windows
$ hcs -e "ping 127.0.0.1 > log.txt"

What can I do with HCS?

  • Launch applications in background
  • Launch all the processes that you want with one call to HCS (one subprocess in one thread for each application)

Installation

You can install or upgrade HCS with:

$ pip install hcs --upgrade

Or you can install from source with:

$ git clone https://github.com/RDCH106/hidden_console_start.git --recursive
$ cd hidden_console_start
$ pip install .

Quick example

$ hcs -e "ping 127.0.0.1 > log.txt" "mspaint"

The example executes ping to 127.0.0.1 redirecting the result to log.txt file and launch Microsoft Paint at the same time.