Skip to content

First step to parallelism#40

Open
didactic-drunk wants to merge 1 commit intof:masterfrom
didactic-drunk:pty
Open

First step to parallelism#40
didactic-drunk wants to merge 1 commit intof:masterfrom
didactic-drunk:pty

Conversation

@didactic-drunk
Copy link
Contributor

Commands are redirected to a file instead of buffered in memory
Allows running commands with large output

Commands run with their own resized pty
Preserves colors when outputting to a file
Fixes command formatting when indenting 2 spaces

Queue tasks instead of running immediately (also necessary for future parallelism)
Possibly fixes #14

Use Set to avoid infinite adding to @files/@Runners when files created/deleted

Allow configurable behavior of how to handle missing files
Defaults to remove missing files from command args
Possibly fixes #4

Run single command with cmd file1 file2 instead of 1 command per file

Output has changed
Hide successful command output
Show error output

--verbose option

Fix gitignore

  Allows running commands with large output

Commands run with their own resized pty
  Preserves colors when outputting to a file
  Fixes command formatting when indenting 2 spaces

Queue tasks instead of running immediately (also necessary for future parallelism)
  Possibly fixes f#14

Use Set to avoid infinite adding to @files/@Runners when files created/deleted

Allow configurable behavior of how to handle missing files
  Defaults to remove missing files from command args
    Possibly fixes f#4

Run single command with `cmd file1 file2` instead of 1 command per file

Output has changed
  Hide successful command output
  Show error output

--verbose option

Fix gitignore
@didactic-drunk
Copy link
Contributor Author

Restructuring with output to files, queuing, additional pty's is all necessary to run tasks in parallel.
If output directly to a file color information is lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request. Rate limit. Crash when removing multiple files that are being watched

1 participant