~zorba-coders/zorba/project_tag_process

« back to all changes in this revision

Viewing changes to test/Queries/process2-02.xq

  • Committer: Zorba Build Bot
  • Author(s): nbrinza at gmail
  • Date: 2013-06-13 11:27:11 UTC
  • mfrom: (33.2.17 process-2)
  • Revision ID: chillery+buildbot@lambda.nu-20130613112711-4qkacysimbs4kpvl
Version 2.0 of the process module, allows running executables directly, without invoking bash/cmd.exe Approved: Nicolae Brinza, Matthias Brantner

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import module namespace proc = "http://zorba.io/modules/process";
 
2
 
 
3
let $result := proc:exec("echo",("hello","world"))
 
4
return $result("stdout") eq "hello world
 
5
"