We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c30ef commit c2cf05eCopy full SHA for c2cf05e
telegram-chat
@@ -100,7 +100,8 @@ $WaitFullyConnected;
100
:local File ("tmpfs/telegram-chat/" . [ $GetRandom20CharAlNum 6 ]);
101
$MkDir "tmpfs/telegram-chat";
102
$LogPrintExit2 info $0 ("Running command: " . $Text) false;
103
- :exec script=($Text . "; :execute script=\":put\" file=" . $File . ".done") file=$File;
+ :exec script=(":do {\n" . $Text . "\n} on-error={};" . \
104
+ ":execute script=\":put\" file=" . $File . ".done") file=$File;
105
:if ([ $WaitForFile ($File . ".done.txt") 200 ] = false) do={
106
:set State "The command did not finish, still running in background.\n\n";
107
}
0 commit comments