Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mikhail Tergoev
PortWINE
Commits
fc565a2d
Commit
fc565a2d
authored
Dec 13, 2024
by
Alex Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed debug information
parent
f7c9fee8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
functions_helper
data_from_portwine/scripts/functions_helper
+1
-11
No files found.
data_from_portwine/scripts/functions_helper
View file @
fc565a2d
...
...
@@ -4248,31 +4248,21 @@ 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
isCmdline
=
FALSE
isMaps
=
FALSE
for
pid
in
$(
ls
-lr
/proc/
*
/exe |
grep
-E
'wine(64)?-preloader'
|
awk
-F
/
'{print $3}'
)
;
do
if
[[
"
$(
tr
'\0'
' '
<
"/proc/
${
pid
}
/cmdline"
2>/dev/null
)
"
==
*
"
${
exe_path
}
"
*
]]
;
then
exe_pid
=
"
${
pid
}
"
isCmdline
=
TRUE
elif
grep
-q
"
${
exe_path
}
"
"/proc/
${
pid
}
/maps"
2>/dev/null
;
then
exe_pid
=
"
${
pid
}
"
isMaps
=
TRUE
else
continue
fi
break
done
echo
"find proc:
${
exe_path
}
[
${
exe_pid
}
|
${
isCmdline
}
|
${
isMaps
}
]"
elif
[[
-n
"
${
exe_pid
}
"
]]
;
then
echo
"end proc:
${
exe_pid
}
"
break
;
break
fi
echo
"update processes list"
else
echo
"process isset:
${
exe_pid
}
"
fi
done
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment