You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: includes/exec.inc
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ use \Consolidation\SiteAlias\AliasRecord;
27
27
* The result code from system(): 0 == success.
28
28
*
29
29
* @see drush_shell_exec()
30
+
* @deprecated See Drush::process().
30
31
*/
31
32
functiondrush_op_system($exec) {
32
33
if (Drush::verbose() || Drush::simulate()) {
@@ -52,6 +53,9 @@ function drush_op_system($exec) {
52
53
* The command to execute. May include placeholders used for sprintf.
53
54
* @param ...
54
55
* Values for the placeholders specified in $cmd. Each of these will be passed through escapeshellarg() to ensure they are safe to use on the command line.
56
+
*
57
+
* @deprecated See Drush::process().
58
+
*
55
59
* @return
56
60
* TRUE on success, FALSE on failure
57
61
*/
@@ -76,6 +80,9 @@ function drush_shell_cd_and_exec($effective_wd, $cmd) {
76
80
* The command to execute. May include placeholders used for sprintf.
77
81
* @param ...
78
82
* Values for the placeholders specified in $cmd. Each of these will be passed through escapeshellarg() to ensure they are safe to use on the command line.
83
+
*
84
+
* @deprecated See Drush::process().
85
+
*
79
86
* @return
80
87
* TRUE on success, FALSE on failure
81
88
*/
@@ -85,6 +92,8 @@ function drush_shell_exec($cmd) {
85
92
86
93
/**
87
94
* A version of drush_shell_exec() that ignores simulate mode
thrownew \Exception(dt("Could not rsync from !source to !dest", ['!source' => $this->sourceEvaluatedPath->fullyQualifiedPathPreservingTrailingSlash(), '!dest' => $this->targetEvaluatedPath->fullyQualifiedPath()]));
0 commit comments