I tried to add a startup_script using the following code:
class MyCmd(Cmd):
def __init__():
Cmd.__init__(self, startup_script='/home/ubuntu/my folder/start.rc')
...
However, after debugging the code, it seems that cmd2 is considering that path as two separated elements: /home/ubuntu/my and `folder/start.rc', and then of course the parsing fails when trying to see if that's a real file, as I get the following error:
ERROR: /home/ubuntu/my does not exist or is not a file
Any help?