I need to start *.exe from terminal and I faced with some problem. I double click to AntScope.exe (it is our own aplication for windows) and all work fine (see 1.png). Apllication is started. After that I try to start AntScope.exe from terminal
according to https://www.winehq.org/docs/wineusr-guide/running-wine
Code: Select all
Ashots-MBP:~ Ashot$ /Applications/Wine.app/Contents/Resources/bin/wine ~/.wine/drive_c/AntScope.exe
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Also I noticed that wine processes has different order for norman start and start via terminal.
Normal start:
Code: Select all
ps -ale | grep wine
501 346 341 4000 0 31 0 3292020 23992 - S 0 ?? 0:02.82 /Applications/Wine.app/Contents/Resources/bin/wine /Users/Ashot/Socket/AntScope.exe
501 356 1 0 0 31 0 614116 4100 - Ss 0 ?? 0:02.86 /Applications/Wine.app/Contents/Resources/lib/../bin/wineserver
501 363 1 4000 0 31 0 3211140 3664 - Ss 0 ?? 0:00.12 /Applications/Wine.app/Contents/Resources/lib/../bin/wine C:\windows\system32\services.exe
501 365 1 4000 0 31 0 3251468 10316 - S 0 ?? 0:02.22 /Applications/Wine.app/Contents/Resources/lib/../bin/wine C:\windows\system32\winedevice.exe MountMgr
501 367 1 4000 0 31 0 3210940 3380 - S 0 ?? 0:00.09 /Applications/Wine.app/Contents/Resources/lib/../bin/wine C:\windows\system32\plugplay.exe
501 382 1 4000 0 31 0 3259804 13504 - Ss 0 ?? 0:00.61 /Applications/Wine.app/Contents/Resources/lib/../bin/wine C:\windows\system32\explorer.exe /desktop
501 409 396 4006 0 31 0 2424580 368 - R+ 0 ttys000 0:00.00 grep wine
Ashots-MBP:~ Ashot$
Code: Select all
Ashots-MBP:~ Ashot$ ps -ale | grep wine
501 533 1 0 0 31 0 613092 3552 - Rs 0 ?? 0:00.95 /Applications/Wine.app/Contents/Resources/lib/../bin/wineserver
501 539 1 4000 0 31 0 3211144 3664 - Ss 0 ?? 0:00.12 /Applications/Wine.app/Contents/Resources/lib/../bin/wine C:\windows\system32\services.exe
501 542 1 4000 0 31 0 3214732 5684 - S 0 ?? 0:00.17 /Applications/Wine.app/Contents/Resources/lib/../bin/wine C:\windows\system32\winedevice.exe MountMgr
501 544 1 4000 0 31 0 3259856 12576 - Ss 0 ?? 0:00.35 /Applications/Wine.app/Contents/Resources/lib/../bin/wine C:\windows\system32\explorer.exe /desktop
501 546 1 4000 0 31 0 3210940 3372 - S 0 ?? 0:00.09 /Applications/Wine.app/Contents/Resources/lib/../bin/wine C:\windows\system32\plugplay.exe
501 559 396 4006 0 31 0 2423356 240 - R+ 0 ttys000 0:00.00 grep wine
501 531 525 4002 0 31 0 3292508 23032 - R+ 0 ttys001 0:01.47 /Applications/Wine.app/Contents/Resources/bin/wine /Users/Ashot/.wine/drive_c/AntScope.exe
Ashots-MBP:~ Ashot$
Thank you.