Giter VIP home page Giter VIP logo

scriptl's People

Contributors

fare avatar ferada avatar rpav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scriptl's Issues

Missing scripts; Dependency Issues?

Hey man, cool looking project! I'm having some trouble getting it running. Below is a short summary of the problem.

Building from the Quicklisp dist appears to succeed, but scriptl's default shell commands are not in path.

Running the scripts from inside their local directory fails because scriptlcom does not exist.

Trying to manually build scriptlcom fails because aclocal-1.14 is missing. Aclocal is present, but in a higher version. I'm going to try building with a matching version. Until then, any ideas as to what's up?

Error under LispWorks 7.1.2 when running cli command

When running server under LispWorks 7.1.2 I get this error during command execution (I'm trying example from the README):

#(48 48 48 48 48 48 48 54) cannot be converted to foreign type "Statically allocated (LISP-ARRAY NIL)".
Call to ERROR
Call to FLI::FOREIGN-TYPE-ERROR-FUNCTION
Call to FLI::CHECKED-LISP-ARRAY
Call to FLI::SET-DYNAMIC-LISP-ARRAY-POINTER
Call to IOLIB/STREAMS::IOBUF-COPY-FROM-LISP-ARRAY
Call to IOLIB/STREAMS::IOBUF-APPEND-SLICE
Call to IOLIB/STREAMS::%WRITE-SIMPLE-ARRAY-UB8
Call to WRITE-SEQUENCE
Call to SCRIPTL::SEND-PACKET
Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION 2 (HARLEQUIN-COMMON-LISP:SUBFUNCTION 2 SCRIPTL::CLIENT-LOOP))
Call to SIGNAL
Call to ERROR
Interpreted call to COMMON-LISP-USER::MY-COMMAND
Call to (METHOD SCRIPTL::HANDLE-CLIENT-FOR ((EQL 2) T))
Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION 2 SCRIPTL::CLIENT-LOOP)
Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION (LABELS BORDEAUX-THREADS::%BINDING-DEFAULT-SPECIALS-WRAPPER) BORDEAUX-THREADS::BINDING-DEFAULT-SPECIALS)
Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION (LABELS BORDEAUX-THREADS::%JOIN-THREAD-WRAPPER) BORDEAUX-THREADS::%MAKE-THREAD)
Call to MP::PROCESS-SG-FUNCTION

On osx 10.7, use of eval or funcall1 shell script results in errors.

while in the examples folder (following installation via quicklisp and invoking of scriptl:start) , running ./eval '(+ 1 1)' yields

./eval: line 20: printf: 0x: invalid number
head: illegal byte count -- 0
./eval: line 20: printf: 0x: invalid number
head: illegal byte count -- 0
./eval: line 20: printf: 0x: invalid number
head: illegal byte count -- 0
Error: 

[Questions] Script and run directories

I was wondering:

  • Is there a way to create scripts elsewhere/at a specified directory (from inside lisp) ? (Some option to make-script I missed or something like that?)

  • Is there a way for scripts to have a notion of where they're being run? For a kinda dumb example, if I wrote:

    (defun my-ls ()
      (format t (with-output-to-string (out)
                  (run-program "/bin/ls" '() :output out))))
    
    (scriptl:make-script "ls" 'my-ls)
    
    

    Any calls to the ls script would only list the files where the script itself resides, not for the directory where the script is being called from.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.