mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #376] checking the return value of the "before script" #2246
Labels
No labels
area-configuration
area-ct-app
area-ct-rdp
area-ct-remoteapp
area-ct-ssh
area-ct-vnc
area-launcher
area-list
area-tags
area-teamwork
bug
chore
dependencies
general-build/ci
general-performance
general-refactor
general-security
general-supportive
general-ux
meta-documentation
meta-enhancement
meta-enhancement
meta-feature
meta-help-wanted
meta-unknown-error
priority-hi
priority-low
pull-request
question
resolution-duplicate
resolution-invalid
resolution-wontfix
stale
task-put-off
task-still-considering
task-working-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/1Remote#2246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VShawn on GitHub (Mar 14, 2023).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/376
Originally assigned to: @VShawn on GitHub.
Having said this, it would make sense to implement checking the return value of the "before script" in PRemoteM at some rainy day in the future. Till then I can live with the current behavior. 😉
Originally posted by @MWinhard in https://github.com/1Remote/1Remote/discussions/363#discussioncomment-5228034
@MWinhard commented on GitHub (Mar 16, 2023):
Just installed version 0.7.2.7 and changed the connect script to fail. The RDP connection is not trying to connect. Instead a MessageBox is shown. Works as expected. 😁
However, in version 0.7.2.7 the script after disconnected is complaining.
That's my script after disconnected:
"C:\Program Files\OpenVPN\bin\openvpn-gui.exe" --command disconnect myconnection.ovpnIt worked flawlessly in version 0.7.2.3. I'm starting a second instance of openvpn-gui.exe just to send a message to the running instance. The second instance returns within a split second.
@MWinhard commented on GitHub (Mar 16, 2023):
The script after disconnected complains, too, if I wrap it in a *.cmd file.
@VShawn commented on GitHub (Mar 16, 2023):
oh I make a mistake on one line.
this one would help
https://github.com/1Remote/1Remote/releases/download/0.7.2.7/PRemoteM-0.7.2.7.zip
@MWinhard commented on GitHub (Mar 16, 2023):
The script after disconnect doesn't complain anymore. 😁
Thank you very much.
-------- Original Message --------
Subject: Re: [1Remote/1Remote] checking the return value of the "before
script" (Issue #376)
From: VShawn @.>
To: 1Remote/1Remote @.>
Cc: Markus Winhard @.>, Mention @.>
Date: Donnerstag, 16.03.2023 10:47:42