Compare commits
No commits in common. "4eee568840d897a1b9ce98a1888aca7f8d07903d" and "314ea6542728ae4cd5c1cf9d082076389ff65e18" have entirely different histories.
4eee568840
...
314ea65427
|
@ -10,13 +10,13 @@ def get_app_class(template):
|
|||
|
||||
try:
|
||||
for file in os.listdir(path):
|
||||
self.console.write(file)
|
||||
print(file)
|
||||
except OSError as e:
|
||||
try:
|
||||
os.stat(path)
|
||||
self.console.write(path)
|
||||
print(path)
|
||||
except OSError:
|
||||
self.console.write(f"ls: cannot access '{path}': No such file or directory")
|
||||
print(f"ls: cannot access '{path}': No such file or directory")
|
||||
|
||||
self.exit()
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ def get_app_class(template):
|
|||
for pid, app in apps.items():
|
||||
args = app.argv[1:]
|
||||
name = app.name
|
||||
self.console.write(f'{pid} {name} {args}')
|
||||
print(f'{pid} {name} {args}')
|
||||
self.exit()
|
||||
|
||||
return App
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import fibonaccios.exceptions
|
||||
import circuitos.exceptions
|
||||
import shlex
|
||||
import console
|
||||
|
||||
|
@ -8,7 +8,7 @@ def get_app_class(template):
|
|||
self.jump('prompt')
|
||||
|
||||
def F_prompt(self):
|
||||
self.console.write(b'FibonacciOS sh # ')
|
||||
self.console.write(b'CicuitOS sh # ')
|
||||
self.store['buf'] = []
|
||||
self.jump('input')
|
||||
|
||||
|
@ -26,7 +26,7 @@ def get_app_class(template):
|
|||
pid = self.os.launch(*line)
|
||||
self.wait(pid)
|
||||
self.transfer_console(pid)
|
||||
except fibonaccios.exceptions.AppNotFound as e:
|
||||
except circuitos.exceptions.AppNotFound as e:
|
||||
print('error: app not found')
|
||||
self.jump('prompt')
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import bin #this is at the end of the script in case any functions from bin
|
||||
#depend on anything here
|
||||
from fibonaccios.exceptions import *
|
||||
from fibonaccios.apploader import get_app
|
||||
import fibonaccios.apploader # apploader hack
|
||||
from circuitos.exceptions import *
|
||||
from circuitos.apploader import get_app
|
||||
import circuitos.apploader # apploader hack
|
||||
import time
|
||||
import usb_cdc
|
||||
|
Loading…
Reference in New Issue
Block a user