set youtubedl_pid to do shell script shellPath & "cd " & downloadsFolder_Path_monitor_quoted & " ; " & YTDL_TimeStamps_monitor_quoted & " " & monitor_DL_Use_YTDLP & " " & ytdl_settings_monitor & " " & URL_user_entered_monitor_quoted & " &> " & YTDL_log_file_monitor_quoted & " & echo $!"