From 8c60222c274c08aed980c60d26425838822359ae Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Fri, 13 Dec 2024 19:23:37 +0500 Subject: [PATCH] "${PORT_WINE_TMP_PATH}/processes" --- data_from_portwine/scripts/functions_helper | 1 + 1 file changed, 1 insertion(+) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 95cff3d2..7521f6d3 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -4248,6 +4248,7 @@ portwine_launch () { if [[ -z "${exe_pid}" || ! -e "/proc/${exe_pid}" ]]; then processes=$("${WINEDIR}/bin/winedbg" --command "info proc" 2>/dev/null) exe_path=$(echo "${processes}" | grep -oP "(?<=\s)'[^']+'" | sed "s/^'//;s/'$//" | grep -Ev "${WINEPROCESSES}" | head -n 1) + echo "${processes}" > "${PORT_WINE_TMP_PATH}/processes" if [[ -n "${exe_path}" ]]; then unset exe_pid for pid in $(ls -lr /proc/*/exe | grep -E 'wine(64)?-preloader' | awk -F/ '{print $3}'); do