Repository navigation
fix: safer Windows agent start, longer stdio relay wait, single instance on Windows and Linux, cloud session import, .aup aliased audio on Windows - #28
Merged
Conversation
A package manager's .cmd shim is started as the node script or program it names, so every word reaches it unchanged. Any other .cmd or .bat still runs through the command interpreter, but only with words it passes on as they are: no control characters, % or double quotes, and its special characters only inside quoted words. The shared finder moves to 1.0.2.
The relay gave up after 180 seconds while a call can wait for consent and then run for up to 600 seconds, and it reported the timeout as formwav not running. It now waits longer than both together and says the call may still be running when it does time out.
A .fmw from Google Drive or Dropbox now goes through the same check and naming as an upload: a file that is not a session is refused with its reason, and a name with characters a session name cannot hold is cleaned rather than failing the import.
The file was held open as a delete-on-close temporary file while ffprobe and ffmpeg read it, which Windows does not allow. It is now written to a temporary folder and closed first.
Opening a .fmw while formwav runs started a second copy whose engine found the data folder in use and showed an error. A second launch now hands its file to the running window, or brings that window forward, through the single-instance plugin. macOS already did this and is unchanged.
… batch file On Windows a .cmd or .bat path followed by dots, spaces or ::$DATA still starts as a batch file, so it now gets the same checked start as any other batch file. The 1.0.2 finder's recorded hash follows.
A batch file reads its words again through %*, so quotes do not keep the command interpreter from acting on its own characters. When a .cmd or .bat still starts through it, a word holding a control character or any of & | < > ^ ( ) ! % " is now refused whether it is quoted or not, and a program path with a space allows no other word that needs quotes. The message points long text to standard input or a file. The 1.0.2 finder's recorded hash follows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tests
For the owner
How to ship