You are here    Bugs        Feature    Ticket #5657 nl sv ru pl es de fr

Feature #5657 on

adding an option for modifying the full command line

Added by xuancong on 2018-02-21 13:03:11 - Comment or update this ticket

Assigned to:
Last update:
2018-02-21 13:03:11
Description, steps to reproduce:

If we look into any shortcut in the $HOME/.PlayOnLinux/shortcuts/ folder, we saw the last line such as:

POL_Wine 'my-windows-program.exe' "$@"

There are cases in which full command-line access is extremely useful, e.g.:

1. I want to run the program without network access, i.e., I want to run
 unshare -n POL_Wine 'my-windows-program.exe' "$@"

2. I want to run the program as a module in a pipeline, e.g.:
 cat input.txt | pre-process.bin | POL_Wine 'my-windows-program.exe' "$@" | post-process.bin >output.txt

3. I want to set certain environment variables, i.e., I want to run
 env LC_ALL=zh_CN.UTF-8 XMODIFIERS='@im=fcitx' POL_Wine 'my-windows-program.exe' "$@"
so that the program can display correct locale and receive correct input method

I hope playonlinux can be enhanced to support full command-line modification so that it will be more powerful in launching windows applications. Thanks!