El jue, 17 abr 2014, Bastien decĂ­a:

> OSiUX <xu...@osiux.com.ar> writes:
>
> >     #+BEGIN_SRC sh :cmdline "-i" :session :results output
>
> From a quick look, this should rather be:
>
> #+BEGIN_SRC sh :cmdline -i :session session_name :results output
>
> Can you test this?

Don't Work :-(

** DONE test =bash -i=
   CLOSED: [2014-04-22 mar 14:56]
   :LOGBOOK:
   - State "DONE"       from "NEXT"       [2014-04-22 mar 14:56]
   CLOCK: [2014-04-22 mar 14:51]--[2014-04-22 mar 14:54] =>  0:03
   :END:

   #+BEGIN_SRC sh :cmdline -i :session xyz :results output
     export | grep -i shell
     alias | wc -l
     history | wc -l
   #+END_SRC

   #+RESULTS:
   : declare -x SHELL="/bin/bash"
   : 0
   : 0

   #+BEGIN_SRC sh :session :results output
     export | grep -i shell
     alias | wc -l
     history | wc -l
   #+END_SRC

   #+RESULTS:
   : export SHELL="/bin/bash"
   : 0
   : 0

--

::

  Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar
  DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C
  http://www.osiux.com.ar http://www.altermundi.net

Attachment: signature.asc
Description: Digital signature

Reply via email to