Posted 10 October 2016 - 04:35 PM
Hey guys,
If you didn't saw it right now, i refer to my post FSector.
To test FSector, i wanna redirect the fs and run a program by shell.run to test if FSector works correctly.
After a few 'prints', i get at the end paths like:
rom/porgrams/rom/programs/ls and rom/porgrams/advanced/rom/programs/ls.
I have no more ideas.
I hope somebody can help me =)
Sewbacca
If you didn't saw it right now, i refer to my post FSector.
To test FSector, i wanna redirect the fs and run a program by shell.run to test if FSector works correctly.
local root = FSector.create(fs.current(), '')
root.mount('rom', '.customFolder/rom')
fs.redirect(FSector.create(root, '.customFolder/BIOS'))
shell.run('rom/programs/shell', '')
fs.redirect(fs.native())
First, i tried shell, but both errors with No such program.After a few 'prints', i get at the end paths like:
rom/porgrams/rom/programs/ls and rom/porgrams/advanced/rom/programs/ls.
I have no more ideas.
I hope somebody can help me =)
Sewbacca
Edited on 12 October 2016 - 11:28 AM