Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/plugin/shell/
DP0wnyShell.php51 * @param string $cmd The command to execute
54 protected function executeCommand($cmd) argument
58 exec($cmd, $output);
61 $output = shell_exec($cmd);
64 system($cmd);
69 passthru($cmd);
73 $handle = popen($cmd, 'r');
79 $handle = proc_open($cmd, [0 => ['pipe', 'r'], 1 => ['pipe', 'w']], $pipes);
99 * @param string $cmd The command to execute
103 public function featureShell($cmd, $cwd) argument
[all …]
/plugin/asciidocjs/node_modules/yargs/build/lib/
Dparse-command.js1 export function parseCommand(cmd) { argument
2 const extraSpacesStrippedCommand = cmd.replace(/\s{2,}/g, ' ');
7 throw new Error(`No command found in: ${cmd}`);
9 cmd: firstCommand.replace(bregex, ''), property
13 splitCommand.forEach((cmd, i) => {
15 cmd = cmd.replace(/\s/g, '');
16 if (/\.+[\]>]/.test(cmd) && i === splitCommand.length - 1)
18 if (/^\[/.test(cmd)) {
20 cmd: cmd.replace(bregex, '').split('|'), property
26 cmd: cmd.replace(bregex, '').split('|'), property
Dcommand.js40 addHandler(cmd, description, builder, handler, commandMiddleware, deprecated) { argument
44 if (Array.isArray(cmd)) {
45 if (isCommandAndAliases(cmd)) {
46 [cmd, ...aliases] = cmd;
49 for (const command of cmd) {
54 else if (isCommandHandlerDefinition(cmd)) {
55 let command = Array.isArray(cmd.command) || typeof cmd.command === 'string'
56 ? cmd.command
57 : this.moduleName(cmd);
58 if (cmd.aliases)
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/
DNotifysend.php215 $cmd = $this->getBasicCommand();
216 $cmd .= ' -i info';
217 $cmd .= ' "PHP CodeSniffer: Ok"';
218 $cmd .= ' "All fine"';
219 exec($cmd);
233 $cmd = $this->getBasicCommand();
234 $cmd .= ' -i error';
235 $cmd .= ' "PHP CodeSniffer: Error"';
236 $cmd .= ' '.escapeshellarg(trim($msg));
237 exec($cmd);
[all …]
/plugin/asciidocjs/node_modules/jake/test/integration/jakelib/
Drule.jake.js39 let cmd = util.format('cp %s %s', this.source, this.name);
40 console.log(cmd + ' task');
41 exec(cmd);
67 let cmd = util.format('cp %s %s', this.source, this.name);
68 console.log(cmd + ' task');
69 exec(cmd);
88 let cmd = util.format('cp %s %s', this.source, this.name);
89 console.log(cmd + ' task');
90 exec(cmd);
136 let cmd = util.format('cp %s %s', this.source, this.name);
[all …]
/plugin/asciidocjs/node_modules/jake/lib/
Dpackage_task.js215 cmd: 'tar' property
220 cmd: 'tar' property
225 cmd: 'tar' property
230 cmd: 'jar' property
235 cmd: 'zip' property
269 let cmd;
289 cmd = self[opts.cmd + 'Command'];
290 cmd += ' -' + opts.flags;
291 if (opts.cmd == 'jar' && self.manifestFile) {
292 cmd += 'm';
[all …]
/plugin/freechat/phpfreechat/src/commands/
Dupdate.class.php22 $cmd =& pfcCommand::Factory("connect");
27 $cmd->run($xml_reponse, $cmdp);
36 $cmd =& pfcCommand::Factory("updatemynick");
39 $cmd->run($xml_reponse, $cmdp);
42 $cmd =& pfcCommand::Factory("who2");
48 $cmd->run($xml_reponse, $cmdp);
55 $cmd->run($xml_reponse, $cmdp);
59 $cmd =& pfcCommand::Factory("getnewmsg");
64 $cmd->run($xml_reponse, $cmdp);
70 $cmd->run($xml_reponse, $cmdp);
Dinvite.class.php63 $cmd =& pfcCommand::Factory("error");
64 $cmd->run($xml_reponse, $cmdp);
74 $cmd =& pfcCommand::Factory("error");
75 $cmd->run($xml_reponse, $cmdp);
93 $cmd =& pfcCommand::Factory("notice");
94 $cmd->run($xml_reponse, $cmdp);
/plugin/asciidocjs/node_modules/commander/
Dindex.js169 const cmd = this.createCommand(args.shift());
172 cmd.description(desc);
173 cmd._executableHandler = true;
175 if (opts.isDefault) this._defaultCommandName = cmd._name;
177 cmd._hidden = !!(opts.noHelp || opts.hidden);
178 cmd._helpFlags = this._helpFlags;
179 cmd._helpDescription = this._helpDescription;
180 cmd._helpShortFlag = this._helpShortFlag;
181 cmd._helpLongFlag = this._helpLongFlag;
182 cmd._helpCommandName = this._helpCommandName;
[all …]
/plugin/pubmed/
Dsyntax.php30 list($cmd,$pmid) = explode(':',$match);
32 $cmd = $match;
35 return array($state,array($cmd,$pmid));
44 list($cmd, $pmid) = $query;
45 $cmd = strtolower($cmd);
46 if ($cmd=='long' || $cmd=='short'){
64 if ($cmd=='long'||$cmd=='short'){
66 if ($cmd=='long'){
70 }elseif($cmd=='short'){
80 switch($cmd){
[all …]
/plugin/farm/
Dadmin.php39 var $cmd = ''; variable in admin_plugin_farm
216 function wl($cmd, $opt = array()) { argument
218 $p = array('do' => 'admin', 'page' => 'farm', 'farm_cmd' => $cmd);
252 $this->cmd = 'overview';
256 $this->cmd = key($_REQUEST['farm_cmd']);
257 $t = $_REQUEST['farm_cmd'][$this->cmd];
276 }else $this->cmd = $_REQUEST['farm_cmd'];
317 if(!isset($commands[$this->cmd])) $this->cmd = 'overview';
320 $file = DOKU_FARM_PLUGIN.$commands[$this->cmd].'.class.php';
323 $class = 'dokuwiki_farm_'.$commands[$this->cmd];
[all …]
/plugin/callflow/
Dscript.js310 cmd = aParsedCommands[i];
311 if(cmd[4] == "arrow" || cmd[4] == "double-arrow")
314 if (cmd[0] != cmd[1]) {
318 if (callActors[cmd[0]] > callActors[cmd[1]]) {
323 "M"+(callActors[cmd[0]]+adjStart)+","+y+ // from
324 "L"+(callActors[cmd[1]]+adjEnd)+","+y // to
333 if (cmd[4] == "double-arrow") {
337 "M"+callActors[cmd[0]]+","+y+ // from
338 "L"+callActors[cmd[1]]+","+y // to
347 (callActors[cmd[0]]+callActors[cmd[1]])/2,
[all …]
/plugin/svgimg2/
Dhelper.php33 $cmd = '';
45 $cmd = sprintf("%s %s -z%s%s --export-%s=%s",
56 $cmd = '';
60 if ( !empty($param) ) $cmd = " -resize " . $param;
62 if ( !empty( $data['border'] )) { $cmd .= ' -border ' . intval($data['border']); }
63 …if ( !empty( $data['bordercolor'] )) { $cmd .= ' -bordercolor "' . escapeshellarg($data['bordercol…
64 $cmd .= " -strip -coalesce -quality " . intval($conf['jpg_quality']);
65 $cmd = sprintf("{$conf['im_convert']} %s %s %s >/dev/null 2>&1",
66 $cmd,
75 $cmd = sprintf("rsvg %s %s --format=%s %s %s",
[all …]
/plugin/fedauth/classes/
Dfa_base.class.php31 var $cmd = ''; variable in fa_base
47 * @param string $cmd name of the command to handle
50 function __construct(&$manager, $cmd, $provid='') { argument
53 $this->cmd = $cmd;
63 $method = 'process_' . $this->cmd;
68 …return array('msg' => $this->manager->getLang('unknowncmd').' <b>'.$this->cmd.'</b>', 'code' => -1…
77 $method = 'handle_ajax_' . $this->cmd;
88 $method = 'html_' . $this->cmd;
/plugin/glossary/syntax/
Ddiv.php45 $cmd = "";
65 $cmd = "printSample";
67 $cmd = "printList";
69 $cmd = "printPoll";
72 $cmd = "printProposal";
74 $cmd = "adminProposal";
76 $cmd = "adminDefinition";
78 $cmd = "adminGlossaries";
86 $glossary->$cmd ($arg);
/plugin/freechat/phpfreechat/data/public/js/
Dpfcclient.js176 handleResponse: function(cmd, resp, param) argument
180 if (cmd != "update")
183 if (cmd == "who" || cmd == "who2")
188 trace('handleResponse: '+cmd + "-"+resp+"-"+param2.inspect());
191 if (cmd == "whois" || cmd == "whois2")
194 trace('handleResponse: '+cmd + "-"+resp+"-"+param2.inspect());
197 if (cmd == "getnewmsg" || cmd == "join")
200 trace('handleResponse: '+cmd + "-"+resp+"-"+param2.inspect());
203 trace('handleResponse: '+cmd + "-"+resp+"-"+param);
206 if (cmd != "update")
[all …]
/plugin/html2pdf/html2pdf/html2ps/
Dfilter.output.ps2pdf.class.php3 function safe_exec($cmd, &$output) { argument
4 exec($cmd, $output, $result);
10 $message .= "Error executing '{$cmd}'<br/>\n";
11 error_log("Error executing '{$cmd}'.");
20 $_cmd = $cmd;
22 error_log("Error executing '{$cmd}'. Command produced no output.");
/plugin/indexmenu/scripts/contextmenu/
Djquery.ui-contextmenu.js180 ui.cmd = ui.item.attr("data-command");
341 _getMenuEntry: function(cmd) { argument
342 return this.$menu.find("li[data-command=" + cmd + "]");
362 ui.cmd = $entry.attr("data-command");
365 self.enableEntry(ui.cmd, !res);
366 self.showEntry(ui.cmd, res !== "hide");
372 self.setTitle(ui.cmd, "" + res);
383 enableEntry: function(cmd, flag) { argument
384 this._getMenuEntry(cmd).toggleClass("ui-state-disabled", (flag === false));
387 getEntry: function(cmd) { argument
[all …]
/plugin/visrep/
Dsyntax.php169 $cmd = $this->getConf($loc);
173 $cmd .= sprintf(' --size=%dx%d', $data['width'], $data['height']);
176 $cmd .= ' -o '.str_ireplace('/', DIRECTORY_SEPARATOR, escapeshellarg($out));
177 $cmd .= ' '.str_ireplace('/', DIRECTORY_SEPARATOR, escapeshellarg($in));
181 $cmd .= ' -Tpng';
183 $cmd .= ' -K'.$data['layout'];
185 $cmd .= ' -o'.str_ireplace('/', DIRECTORY_SEPARATOR, escapeshellarg($out));
186 $cmd .= ' '.str_ireplace('/', DIRECTORY_SEPARATOR, escapeshellarg($in));
189 exec($cmd, $output, $error);
193 dbglog(join("\n",$output),'visrep command failed: '.$cmd);
/plugin/fedauth/
Daction.php32 var $cmd = ''; variable in action_plugin_fedauth
213 $this->cmd = key($fa);
214 $this->provid = is_array($fa[$this->cmd]) ? key($fa[$this->cmd]) : null;
216 $this->cmd = $fa;
223 if (in_array($this->cmd, $this->commands)) {
225 … } else if (!in_array($this->cmd, $this->functions) || !$this->providers->get($this->provid)) {
227 $this->cmd = $defaultcmd;
229 } else if ($this->cmd == 'select') {
230 $this->cmd = 'login';
239 if ($this->cmd != 'manage' && $this->cmd != 'signedin') {
[all …]
/plugin/asciidocjs/node_modules/jake/
Djakefile.js8 var cmd = '../node-jsdoc-toolkit/app/run.js -n -r=100 ' +
11 jake.exec([cmd], function () {
18 var cmd = 'rm -fr ./doc/*';
19 jake.exec([cmd], function () {
97 let cmd = 'eslint --format codeframe "lib/**/*.js" "test/**/*.js"';
99 cmd += ' --fix';
102 proc.execSync(cmd);
/plugin/pdb/
Dsyntax.php50 list($cmd,$pdbid) = $query;
52 $cmd = strtolower($cmd);
54 if ($cmd=='small' || $cmd=='medium' || $cmd=='large'){
57 $renderer->doc.= $this->getImageHtml($pdbid,$cmd).NL;
62 }else if($cmd=='short'||$cmd=='long'){
65 $renderer->doc.= $this->getTextHtml($pdbid,$cmd,$summaryXML);
70 }else if($cmd=='fullsmall'){
90 switch($cmd){
132 …rer->doc.='<div class="pdb_plugin">'.sprintf($this->getLang('plugin_cmd_not_found'),$cmd).'</div>';
/plugin/fedauth/classes/adm/
Dfa_manage.adm.class.php27 * @param string $cmd name of the command to handle
30 function __construct(&$manager, $cmd, $provid='') { argument
31 parent::__construct(&$manager, $cmd, $provid);
85 $method = 'process_' . $this->cmd;
99 $method = 'handle_ajax_' . $this->cmd;
202 …$details = ($this->cmd == 'details' && $this->provid == $id) ? $this->_html_details($id, true) : '…
233 function _json_buttoninfo($cmd) { argument
235 $cmd, $this->provid, $this->lang['btn_'.$cmd], $this->lang['btn_'.$cmd]);
/plugin/lms/syntax/
Dlms.php86 * @param string $cmd
89 protected function makeLink($id, $cmd) argument
93 'lms' => $cmd,
99 'class' => "lms-btn lms-btn-$cmd",
100 'title' => $this->getLang($cmd),
103 $svg = inlineSVG(__DIR__ . '/../img/' . $cmd . '.svg');
104 $span = '<span class="a11y">' . hsc($this->getLang($cmd)) . '</span>';
/plugin/git/lib/
DGit.php290 $cmd = 'show '.$branch.':'.$filename;
293 return $this->run($cmd);
388 $cmd = "gc";
389 $fullcmd = "cd \"".$this->repo_path."\" && ".$this->git_path." ".$cmd;
392 $cmd = "prune";
393 $fullcmd = "cd \"".$this->repo_path."\" && ".$this->git_path." ".$cmd;
396 $cmd = "add . -A";
397 $fullcmd = "cd \"".$this->repo_path."\" && ".$this->git_path." ".$cmd;
400 $cmd = "commit -a -m \"".$message."\"";
401 $fullcmd = "cd \"".$this->repo_path."\" && ".$this->git_path." ".$cmd;
[all …]

12345678910>>...12