Python Forum
Launching other programs from Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Launching other programs from Python
#5
For those who are interested in this topic the correct code should be:
subprocess.Popen(r'C:\Users\user\Desktop\notepad.lnk', shell=True)
Shortcuts are not recognized by subprocess as an application.
Reply


Messages In This Thread
Launching other programs from Python - by Truman - Feb-12-2019, 01:30 AM
RE: Launching other programs from Python - by Truman - Feb-14-2019, 12:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  launching executables DPaul 6 1,341 Jan-15-2023, 02:45 PM
Last Post: DeaD_EyE
  python --version yields no output, not detected by other programs ten 3 3,366 Jun-25-2020, 04:48 AM
Last Post: perfringo
  Can Cmder be used to write Python programs? newbieAuggie2019 5 4,955 Sep-30-2019, 11:24 AM
Last Post: newbieAuggie2019
  Launching executable over rest server api InsatiableBuns 0 1,960 Oct-25-2018, 12:22 PM
Last Post: InsatiableBuns
  Executing DOS programs within Python mdsi2000 4 3,856 Mar-01-2018, 03:49 PM
Last Post: mdsi2000
  Issue with Python 3.X Add/Remove programs entry. WilliamM 1 3,124 Feb-08-2018, 01:54 PM
Last Post: sparkz_alot
  Program-launching script will not close until the program it launches is closed mmwatson 1 3,217 Jun-21-2017, 10:31 PM
Last Post: Ofnuts
  Issue in launching spyder that was installed using pip install on Python 3.6.1 python300 6 10,994 Jun-02-2017, 10:44 PM
Last Post: python300

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020