- initial changes to data shapes

- ls command needs fixing
This commit is contained in:
2026-09-03 11:15:05 +02:00
parent 2e9227f6d8
commit 8a349330b0
12 changed files with 42 additions and 127 deletions
+2 -4
View File
@@ -23,14 +23,12 @@ export class Process {
readonly CommandDescriptor: CommandDescriptor;
readonly State: ShellState;
readonly Args: string[];
readonly Flags: string[];
constructor(pid: number, state: ShellState, descriptor: CommandDescriptor, flags: string[], args: string[]) {
constructor(pid: number, state: ShellState, descriptor: CommandDescriptor, args: string[]) {
this.PID = pid;
this.State = state;
this.Name = descriptor.name;
this.CommandDescriptor = descriptor;
this.Flags = flags;
this.Args = args;
// Check if positive later and throw an error if so
this._MaxChunkByteSize = 1024;
@@ -68,7 +66,7 @@ export class Process {
},
};
const promise = this.CommandDescriptor.fn(io, this.State, this.Flags, this.Args);
const promise = this.CommandDescriptor.fn(io, this.State, this.Args);
promise
.then(output => {