16.04 - Run /home/martyn/Desktop/Scanned Items$ python -m SimpleHTTPServer & in /etc/rc.local - Ask Ubuntu


this question has answer here:

i want run

/home/martyn/desktop/scanned items$ python -m simplehttpserver &  

in

/etc/rc.local 

when try &

sh /etc/rc.local: 13: /etc/rc.local: /home/martyn/desktop/scanned: not found 

you have escape white-space characters. instead of:

/home/martyn/desktop/scanned items 

use this:

/home/martyn/desktop/scanned\ items 

edit: david foerster has point not running root.


Comments

Popular posts from this blog

Windows XP installation, no previous version of Windows NT - Super User

crash - Windows Rundll32 (child process of DllHost) is crashing. How can I even identify it? - Super User

16.04 - Errors were encountered while processing in python - Ask Ubuntu