Posts

Why does :command argument of make-process not work when string passed as a variable?

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite This works fine: (make-process :name "my-proc2" :buffer " *my-proc2*" :command '("sh" "-c" "echo "hi"nsleep 10necho "there"") :connection-type 'pipe :filter (apply-partially 'my-pass-it-on-filter "/tmp/mytmprealtest")) But if I use a variable like the code below I get Debugger entered--Lisp error: (wrong-type-argument stringp body) : (let ((body "echo "hi"nsleep 10necho "there from var"")) (make-process :name "my-proc2" :buffer " *my-proc2*" :command '("sh" "-c" body) :connection-type 'pipe :filter (apply-partially 'my-pass-it-on-filter "/tmp/mytmprealtest"))) The variable should be a string as well, so why doesn't it work? The documentation for make-process says: ... :command COMMAND -- COMMAND is a list starting with ...

installing ubuntu running on virtualbox as operating system on computer

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite I have an ubuntu 18 running on my virtualbox, I have updated the system, installed alot of programs (python, numpy,pandas, tensorflow,...) and added several plugins. Is there any way to install this exact image of ubuntu as an operating system on my computer without the need to install all these programs again? Thanks in advance linux ubuntu virtualbox share asked 3 mins ago Bob Gohardani 6 2 New contributor Bob Gohardani is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. add a comment  |  up vote 1 down vote favorite I have an ubuntu 18 running on my virtualbox, I have updated the system, installed alot of programs (python, numpy,pandas, tensorflow,...) and added several plugins. Is there any way to install this exact image of ubuntu as an operating syst...

How to send an email to myself on the same local machine (tcp port 25)

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite Does anyone know how to sent email to myself? I am trying to generate TCP traffic on port 25. email tcp traffic share | improve this question edited Jan 21 '13 at 8:54 manatwork 21.1k 3 82 84 asked Jan 21 '13 at 1:13 Alex 310 1 4 9 2 Do you just want the email, or do you want to test an SMTP server on your machine? – Keith Jan 21 '13 at 1:54 You open up your favorite email program, fire up a new message editing window, put your email address in the "to"-field and you're good to go. Assuming your email program is configured correctly that will generate traffic on port 25 at least once on at least one host which goes beyond TCP connection requests. I think you need to put more effort into asking your question because the simple answer is "yes". – Bananguin Jan 22 '13 at 13:24 add a commen...