If I run this unix command directly in shell:  $ sleep 100 &amp;   sleep runs in the background as expected, and I can continue working in the command line.  but trying the same thing with shell_exec() and php I get different results.  &lt;?php    $sleep = $argv[1];   $shell="sleep " . $sleep . " &amp;";   shell_exec($shell);  ?&gt;   when executing php sleep.php 100 the command line hangs and wont accept any more commands until sleep finishes. I am not sure whether this is a nuance I am missing with shell_exec() / $argv of php or with the unix shell.  Thanks.
I need to execute a directory copy upon a user action, but the directories are quite large, so I would like to be able to perform such an action without the user being aware of the time it takes for the copy to complete.  Any suggestions would be much appreciated.
$k[x]/(x^n)$ module with finite free resolution is free How To Reduce Noise In Cycles Render So this is my first try with cycles and I was wondering what can I do to make the image clearer? Prove that a set of connectives is inadequate Why are there non-visible objects in my final render? Have Blender on about 4 machines rendering animations. Just spotted on one of the machines its rendering something different from the actual scene that I have setup.    Top window shows a different set of layers objects to whats actually being rendered in the rendering window below.  In my scene contents, layers objects 1-5 are not visible, but these are the ones that look like they are being rendered.  The only thing I can assume is that perhaps it might be because I did not save the document before clicking render, but I would not have expected that behaviour (you dont need to save your word document before printing it).  Can anyone confirm why this is happening? When trying to launch Audacity, I get the following error:  Audacity could not find a place to store temporary files. Please enter an appropriate directory in the preferences dialog.   No files or folder have been moved.   I have purged Audacity, deleted any files, etc manually and re-installed   In terminal:  pst007x@pst007x-Serval-Professional:~$ audacity   (process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised  (process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised  (process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised  (process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised  ** (Audacity:16390): WARNING **: Owner of /tmp/orbit-pst007x is not the current user  Segmentation fault pst007x@pst007x-Serval-Professional:~$    I have not changed any users or added any additional users. All privaleges, etc are default.   Ubuntu 13.10 64bit (all updates applied)  ADDITIONAL:  I can open as gksu audacity  So it looks like privileges is an issue somewhere. I have checked all privileges and all seems ok, but clearly not....  I tried changing the Directory in Preferences to a directory in my home folder:  /home/pst007x/Music/audacity_temp/  but when starting again (not in root) same error...  Any ideas what files could be lacking privileges?   After changing the Directory, when running I get this:  pst007x@pst007x-Serval-Professional:~$ audacity   (process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised  (process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised  (process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised  (process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised Segmentation fault pst007x@pst007x-Serval-Professional:~$    I checked installed files using Synaptic Package Manager, then checked permissions:  pst007x@pst007x-Serval-Professional:~$ sudo chmod -R 777 /usr [sudo] password for pst007x:  pst007x@pst007x-Serval-Professional:~$ audacity  (process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised  (process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised  (process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised  (process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised Segmentation fault pst007x@pst007x-Serval-Professional:~$    EDIT. After the above, I rebooted and was no longer able to login. So I did a fresh install. Not a bad thing since the original install on the this system was 10.10. Working ok after fresh install.  Thank you for taking the time to post answers and suggestions.. I was wondering why the software center doesn't download all the requested apps and install one by one as they finish to download. Or instead why the software center doesn't download an app while the other is installing What is the maximum number of pucture repairs an inner tube can take? Derivation of a generalization of Mertens' Third Theorem. One of Mertens' Theorems states $$\prod_{p\le x}(1-\frac{1}{p})\sim \frac{e^{-\gamma}}{\ln(x)}.$$ I have seen a generalized version that states  $$\prod_{m&lt;p\le x}(1-\frac{m}{p})\sim \frac{c(m)}{(\ln(x))^m},$$ where $m$ is a positive integer and $c(m)$ is a real number that depends on $m$. How can I derive this result? Is there a way to find what the values of $c(m)$ are? Thank you very much. I'm having a hard time understanding how changing space means changing time. In books I've read people are saying "space and time" or "" but never explain what the difference is between the two concepts or how they are related.  How are the concepts of space, time, and space-time related? Which shells don't support dollar-parenthesis expansion, and demand backticks? How do I determine whether or not two lines intersect, and if they do, at what x,y point? Realtek RTL8723BE Wi-Fi incredibly weak I have a HP 14-AN001NA laptop. It came with Windows 10 installed on which the Wi-Fi worked fine anywhere in the house.   However I removed Windows 10 and installed Ubuntu 16.04 instead and since I have had terrible Wi-Fi anywhere aside from about three foot away from the router. I don't know if it's relevant but my Wi-Fi is not called wlan0 but wlo1 for some reason (I didn't change it).  When running lspci -knn | grep Net -A3     I get the following output:  05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723] DeviceName:   Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:81c1] Kernel driver in use: rtl8723be Kernel modules: wl, rtl8723be Joining two rigged models I currently trying to join two rigged (and animated) models, which both has separate meshes, separate bones and separate animations. The first mesh is the horse while the second mesh is human:   So I am interested to join human model onto horse model to make a rider:   I think the best way would be to make horse as a parent and human as a child during the join process. In that case I would like that all horse animations (there are 3 of them - idle, walk and run) would remain as they are, while I can lose human animations, as I will need different ones for it. I was also thinking to make human root bone as a child of one horse back bones, that when horse moves up and down it would move entire human mesh together. It would be also good to keep the same weights that human bones would not start deforming horse mesh and vice versa.  I tried to use Ctrl+J by selecting various combinations between bones and meshes in object mode, however, I noticed that it messes up scaling and rotation of the child object. So I was wondering how it would be possible to properly join these models to create a rider? How to change the "User License" type for customer portal users using a script? Double vs. BigDecimal? Where can I start to learn ArcPy? How to create a Gant-Chart in LaTeX-Beamer I am trying to create a Gant-Chart in Beamer. I found the following example:   \documentclass{beamer}  \usepackage[utf8]{inputenc} \usepackage{pgfgantt}  \title{Sample title} \author{Anonymous} \institute{Overleaf} \date{2019}   \begin{document}  \frame{\titlepage} \begin{frame}{Gant-Chart}     \begin{ganttchart}[vgrid, hgrid,                         bar/.append style={fill=blue!80},                        milestone/.append style={fill=green}]{1}{15}         \gantttitle{2019}{15} \\         \gantttitlelist{1,...,15}{1} \\         \ganttbar{Task 1}{1}{2} \\         \ganttmilestone{Milestone}{7} \ganttnewline         \ganttbar{Final Task}{8}{12}     \end{ganttchart} \end{frame}    \end{document}   Now, I want to change it slightly. The first row shows the year. I want the second row to show months. And then the third row shows the number of weeks that I have planned for the task. Also, I don't want to see any arrows, but just have the rectangles. Is there a way to add a grid? Basically I want everything to just look as in an Excel-Table: Grids and then color the rectangles during which I am working.   Here is an example of what I would like to have:   Can somebody show me how to do this?   Here is another example that seems to get pretty close to what I want. Only in the week-row now it is always written "week 1", "week 2" and so on. I just want the number.   \begin{frame} \begin{figure}[h!bt]     \begin{center}         \begin{ganttchart}[             vgrid={*{6}{draw=none}, dotted},             x unit=.08cm,             y unit title=.6cm,             y unit chart=.6cm,             time slot format=isodate,             time slot format/start date=2019-02-01]{2019-02-01}{2019-07-31}             \ganttset{bar height=.6}             \gantttitlecalendar{year, month=name, week} \\             \ganttbar[bar/.append style={fill=blue}]{Task 1}{2019-02-11}{2019-02-17}\\         \end{ganttchart}     \end{center}     \caption{Time Plan} \end{figure} \end{frame} What is a lambda (function)? It is company policy for admins to login to the servers via a personal username, and then run sudo -i to become root.  Upon running sudo -i, sudo will create an environmental variable called SUDO_USER, which contains the original user's username.  Is there a way to log ALL commands within syslog with something akin to the following syntax:  ${TIME/DATE STAMP}: [${REAL_USER}|${SUDO_USER}]: ${CMD}   An example entry would be:  Sat Jan 19 22:28:46 CST 2013: [root|ksoviero]: yum install random-pkg   Obviously it doesn't have to be exactly the above syntax, it just has to include a minimum of the real user (eg. root), the sudo user (eg. ksoviero), and the full command that was run (eg. yum install random-pkg).  I've already tried snoopy, but it did not include the SUDO_USER variable. I need help to advance in the resolution of that limit: $ \lim_{n \to \infty}{\sqrt[n]{\frac{n!}{n^n}}} $