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

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User