mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
[core, mod_commands] Execute command under shell when using spawn in switch_system().
This commit is contained in:
1 parent
9aee9b8e24
commit
311e932df5
5 files changed
+79
-34
No files matched your search
@@ -1,6 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<document type="freeswitch/xml">
|
||||
<X-PRE-PROCESS cmd="exec-set" data="test=echo 1234"/>
|
||||
<X-PRE-PROCESS cmd="set" data="spawn_instead_of_system=true"/>
|
||||
<X-PRE-PROCESS cmd="exec-set" data="shell_exec_set_test=ls / | grep usr"/>
|
||||
<X-PRE-PROCESS cmd="set" data="spawn_instead_of_system=false"/>
|
||||
<X-PRE-PROCESS cmd="set" data="default_password=$${test}"/>
|
||||
<section name="configuration" description="Various Configuration">
|
||||
<configuration name="modules.conf" description="Modules">
|
||||
|
||||
Reference in new issue
Block a user