more things broken for now

- shell now uses the path env variable
- commands run based on permission of the bin file
This commit is contained in:
2026-09-03 12:27:32 +02:00
parent 2715e5e28e
commit 6cc9727091
4 changed files with 35 additions and 14 deletions
+4 -1
View File
@@ -45,7 +45,10 @@ const group: GroupInfo = {
users.set(1000, user);
groups.set(1000, group);
const state: ShellState = createInitialShellState(fs, users, groups, user);
const env: Map<string, string> = new Map();
env.set("PATH", "/folder1");
const state: ShellState = createInitialShellState(fs, users, groups, user, env);
Shell.init(state);
//console.log(resolveInode(Shell.Instance?.State!, 6));