jrkong / pySearch

Simple command line python script that opens a new browser tab to search the input string
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

Add an "install" script for Windows #4

Open jrkong opened 5 years ago

jrkong commented 5 years ago

Currently the user needs to be inside the pySearch directory to execute the script. It would be nice if we could create a script which adds the script to the environment variables.

To get started I would look at how to edit the Windows environment variable using the command prompt and attempt to execute the command through the Python script.

Note: You can call a command in the system shell using os.subprocess.

jrkong commented 5 years ago

I plan on looking at this along side the OSX/Unix script.