subprocess.Popen(selected_startup_application_exec_value,shell=False)# Run the command of the startup item. If "Yes" is clicked. "shell=False" is used in order to prevent "shell injection" which may cause security problems.
try:
subprocess.Popen(selected_startup_application_exec_value,shell=False)# Run the command of the startup item. If "Yes" is clicked. "shell=False" is used in order to prevent "shell injection" which may cause security problems.
warning_dialog5101.format_secondary_text(_tr("Do you want to run the following startup item?")+"\n"+" Startup Item: "+selected_startup_application_name+"\n"+_tr(" Command: ")+selected_startup_application_exec_value)
warning_dialog5101.format_secondary_text(_tr("Do you want to run the following startup item?")+
buttons=Gtk.ButtonsType.YES_NO,text=_tr("Reset The Startup Item To System Values?"),)
warning_dialog5102.format_secondary_text(_tr("Do you want to reset the following startup item to system values?")+"\n"+" Startup Item: "+selected_startup_application_name+"\n"+
# ----------------------------------- Startup - Startup Reset To System Default Warning Dialog Function (shows a warning dialog when a startup item is tried to be reset to system default which means user specific desktop file of the startup application will be deleted (system-wide values file will be untouched)) -----------------------------------