Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute #10

Closed
Tracked by #2
superxcgm opened this issue Jun 18, 2021 · 0 comments
Closed
Tracked by #2

Execute #10

superxcgm opened this issue Jun 18, 2021 · 0 comments
Assignees

Comments

@superxcgm
Copy link
Owner

superxcgm commented Jun 18, 2021

Epic

Process

Description

After parse user input line to command and args, we need to execute it. We need to search command in PATH env variable, run it with args user input.

AC

Given: User input ls -l
When: Press enter
Then: It should execute and print something like this:

total 9
drwxrwxr-x  34 root  admin  1088 Jun 18 08:35 Applications
drwxr-xr-x  65 root  wheel  2080 Jun 17 21:45 Library
drwxr-xr-x@  9 root  wheel   288 Jan  1  2020 System
drwxr-xr-x   6 root  admin   192 Jan  1  2020 Users
drwxr-xr-x   3 root  wheel    96 Jun 17 21:47 Volumes
drwxr-xr-x@ 38 root  wheel  1216 Jan  1  2020 bin
...

Given: User execute some command
When: User command output something
Then: Command output should print to same place with xcShell

@superxcgm superxcgm mentioned this issue Jun 18, 2021
32 tasks
@superxcgm superxcgm self-assigned this Jun 19, 2021
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

No branches or pull requests

1 participant