You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the new (1.5) version the behaviour with regards to newlines has changed.
Now the script output MUST end with a newline otherwise it does not work, previously it also worked if a script only printed some characters without ending in a newline.
So in the above perl's print does not add a newline (but python's print does - that is the difference).
It can easly fixed with command=perl -e 'print "whatever\n"' but this behaviour came as a surprise to me as it seems to be a change from the previous version.
I hope this is documented well.
dllud
pushed a commit
to dllud/i3blocks
that referenced
this issue
Jan 12, 2024
Hi,
this is my test-config:
When I use this with version 1.4 I the strings "shell perl python2 python3" are display (as expected).
However with 1.5 the perl-output goes missing. Only "shell python2 python3" are displayed.
This boils down a problem I have with another perl-script that used to work in 1.4 but no longer.
What is going on here and how can I make perl work again (it's my main scripting language)?
Many thanks!
The text was updated successfully, but these errors were encountered: