This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-23
Channels
- # beginners (63)
- # cljs-dev (1)
- # cljsjs (1)
- # cljsrn (11)
- # clojure (208)
- # clojure-berlin (2)
- # clojure-dusseldorf (5)
- # clojure-italy (5)
- # clojure-norway (56)
- # clojure-russia (7)
- # clojure-spec (85)
- # clojure-uk (27)
- # clojurescript (191)
- # core-async (73)
- # cursive (4)
- # datomic (62)
- # defnpodcast (1)
- # hoplon (2)
- # jobs-rus (1)
- # juxt (14)
- # keechma (1)
- # leiningen (1)
- # lumo (126)
- # off-topic (2)
- # om (11)
- # onyx (27)
- # pedestal (52)
- # planck (21)
- # powderkeg (1)
- # re-frame (32)
- # reagent (14)
- # ring-swagger (1)
- # rum (3)
- # slack-help (19)
- # specter (23)
- # untangled (32)
- # vim (7)
- # yada (43)
can planck do an exec? one where it passes the input/out/err to subprocess… like bash does in an exec ?
sure, the usecase I have in mind is that planck do somethings, but then invoke another program to continue.... like setting up a file with some contents and then launching vi to edit the file
Correction to the above: Planck's sh
imitation lacks the ability to pass a stream in for the :in
parameter.
cljs.user=> (instance? String "ff") ⬆️ WARNING: Use of undeclared Var cljs.user/String at line 1 Right hand side of instanceof is not an object
(def ^{:arglists '([x]) :doc "Return true if x is a String" :added "1.0" :static true} string? (fn ^:static string? [x] (instance? String x)))
https://github.com/clojure/clojure/blob/clojure-1.9.0-alpha14/src/clj/clojure/core.clj#L160
cljs.user=> (source string?)
(defn ^boolean string?
"Returns true if x is a JavaScript string."
[x]
(goog/isString x))
well… started from http://cljs.info/cheatsheet/