Skip to content

exec: Windows Exec support and Safe Mode #24

Merged
Mzack9999 merged 2 commits into
mainfrom
issue-15-exec-winsupport
Nov 17, 2022
Merged

exec: Windows Exec support and Safe Mode #24
Mzack9999 merged 2 commits into
mainfrom
issue-15-exec-winsupport

Conversation

@tarunKoyalwar

Copy link
Copy Markdown
Member

Description

  • Adds support for command execution in Windows
  • API CHANGE
Adds:
 RunPS(cmd ...string) // Run Command in Windows
 RunSafe(cmd ...string) // Run Command without using os shell with limited features
Update:
 Run(cmd ...string)  // Now supports Pipe(|) , redirection (> << & etc) along with other shell features
  • Adds Appropriate Unit Tests

@tarunKoyalwar tarunKoyalwar self-assigned this Nov 17, 2022
@Mzack9999 Mzack9999 linked an issue Nov 17, 2022 that may be closed by this pull request
@tarunKoyalwar tarunKoyalwar marked this pull request as ready for review November 17, 2022 10:10
@tarunKoyalwar tarunKoyalwar added the Type: Enhancement Most issues will probably ask for additions or changes. label Nov 17, 2022

@Mzack9999 Mzack9999 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@Mzack9999 Mzack9999 merged commit 45159c4 into main Nov 17, 2022
@Mzack9999 Mzack9999 deleted the issue-15-exec-winsupport branch November 17, 2022 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Enhancement Most issues will probably ask for additions or changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

executils should identify CLI engine to invoke on windows

2 participants