Subscribe
for notifications:
EN
Login / Registration
Guest avatar
Guest
Login to access all features
You can download client for your phone
download on play marketDownload at play market
download talkvio apkAPK file directly
  • Аватар пользователя Útost Alronbem
    4 месяца12 Mar 2026 в 12:56
    RU
    Original language: Русский

    [моё] Belated answer to a meaningless question

    By the way, about pasta.

    Я намедни moaned, что не понимаю, почему электронообразное запускается нативно, но не запускается через Lutris на Линуксе.

    It turns out that Python (on which Lutris is written) has a sneaky flag in its subprocess submodule (used for actually launching applications) without which the process will start... hehe... not completely.
    That is, wholly, but not fully.
    In other words, completely, but not finally.
    And it's precisely Chromium (and everything on it, from Thunderbird to the very Look Outside) that dies because of this.

    In the terminal we write, say,
    which pipa
    and we get an empty string in response (or not empty if you have such an executable pipa) + successful process termination.

    But in Python 3
    import subprocess
    try:
        subprocess.check_output(["which", "pipa"],text=True)
    except:
        print("pipa not found")
    will always go to the except.
    Because by default Python can interact with the terminal. But invoking the system which even via subprocess – by default, CANNOT.
    As far as I understand, neither environment variables are picked up nor command aliases work.
    Including which (in the wild /usr/bin/which ).

    Fix: add shell=True at the end, so it becomes
    subprocess.check_output(["which", "pipa"],text=True,shell=True)
    Because otherwise we can't even
    which which
    call which which to see where to invoke it from.

    Now we need to understand why it was done that way.
    Security for security's sake?
    But if pests have gotten into /usr/bin/, the perimeter is already breached.

    I'm too lazy to dig into Lutris's source code to find where to insert this flag (and why errno2 doesn't reach the logs).
    Not to mention the hassles with pull requests.
    That's not even the point.
    I now have my own burden – and I'm pushing it.
    / 1 / 0
    Ratio of positive and negative votes: 1/0
    Like this post, increate it rating
    Number of comments in this post, click to go to the thread
    Number of views in this post, click to go to the thread
  • Comments
  • Аватар пользователя Rastoropsha
    4 месяца12 Mar 2026 в 16:11
    RU
    Original language: Русский
    I only got the allusion to Venyachka 
    Like this post, increate it rating
  • Аватар пользователя Útost Alronbem
    4 месяца12 Mar 2026 в 16:30
    • author
    RU
    Original language: Русский
    Avatar of user Rastoropsha
    Rastoropsha
    I only got the allusion to Venyachka 
    what wreath?
    Like this post, increate it rating
  • Аватар пользователя Rastoropsha
    4 месяца12 Mar 2026 в 16:56
    RU
    Original language: Русский
    Avatar of user Útost Alronbem
    Útost Alronbem
    what wreath?
    Venechka Erofeev. "Moscow-Petushki".
    "And you should note that homosexuality will be eradicated in our country, even if finally, but not entirely. Rather, entirely, but not fully. Or rather even like this: entirely and fully, but not finally."


    avatar of Útost AlronbemÚtost Alronbem
    not entirely. That is, entirely, but not fully. That is, fully, but not finally
    Like this post, increate it rating
  • Аватар пользователя Útost Alronbem
    4 месяца12 Mar 2026 в 17:23
    • author
    RU
    Original language: Русский
    Avatar of user Rastoropsha
    Rastoropsha
    Venechka Erofeev. "Moscow-Petushki".
    "And you should note that homosexuality will be eradicated in...
    Haven't read it.
    It turned up somewhere at Kharitonov.
    So that's it. Well... another joke well hidden in the text has taken on unexpected colors, if not a whole rainbow!
    Like this post, increate it rating
Talkvio Engine 0.2.0-1520-g5d7c815
X
0.2.0-1520-g5d7c815